From 339b527bd4507404a2128ddad24ba060eba342c9 Mon Sep 17 00:00:00 2001 From: Raymond Mao Date: Mon, 19 Jun 2023 14:22:58 -0700 Subject: Move bootorder and bootoption apis to lib Rename and move bootorder and bootoption apis from cmd to lib for re-use between eficonfig and bootmgr Fix 'unexpected indentation' when 'make htmldocs' after functions are moved Signed-off-by: Raymond Mao Reviewed-by: Ilias Apalodimas --- cmd/bootmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/bootmenu.c') diff --git a/cmd/bootmenu.c b/cmd/bootmenu.c index 6baeedc69f9..01daddca7b3 100644 --- a/cmd/bootmenu.c +++ b/cmd/bootmenu.c @@ -351,7 +351,7 @@ static struct bootmenu_data *bootmenu_create(int delay) * UEFI specification requires booting from removal media using * a architecture-specific default image name such as BOOTAA64.EFI. */ - efi_ret = eficonfig_generate_media_device_boot_option(); + efi_ret = efi_bootmgr_update_media_device_boot_option(); if (efi_ret != EFI_SUCCESS && efi_ret != EFI_NOT_FOUND) goto cleanup; -- cgit v1.2.3