mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
efidebug: correct display of BootOrder
Display the number of the boot option and not its index.
Fixes: 2ecee31017
("efi_loader: use efi_create_indexed_name()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
7891fe675d
commit
2b8723c5a1
1 changed files with 1 additions and 1 deletions
|
@ -1340,7 +1340,7 @@ static int show_efi_boot_order(void)
|
|||
num = size / sizeof(u16);
|
||||
for (i = 0; i < num; i++) {
|
||||
efi_create_indexed_name(var_name16, sizeof(var_name16),
|
||||
"Boot", i);
|
||||
"Boot", bootorder[i]);
|
||||
|
||||
size = 0;
|
||||
ret = EFI_CALL(efi_get_variable(var_name16,
|
||||
|
|
Loading…
Add table
Reference in a new issue