bootspec: fix build when EFI support is disabled

Follow-up for ce4c4f8108.
This commit is contained in:
Yu Watanabe
2019-04-17 11:20:04 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent ac9b17271f
commit 528fcf8d1d
3 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -725,8 +725,8 @@ int boot_entries_load_config_auto(
return boot_entries_load_config(esp_where, xbootldr_where, config);
}
#if ENABLE_EFI
int boot_entries_augment_from_loader(BootConfig *config, bool only_auto) {
static const char * const title_table[] = {
/* Pretty names for a few well-known automatically discovered entries. */
"auto-osx", "macOS",
@@ -793,6 +793,7 @@ int boot_entries_augment_from_loader(BootConfig *config, bool only_auto) {
return 0;
}
#endif
/********************************************************************************/