mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08:00
cmd: efidebug: correct error message
Add the missing line feed at the error message if the variable referred to by 'efidebug boot rm' does not exist. Shorten the format string by using the variable name instead of the number of the boot variable. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
e8bced62b6
commit
30efb5dd43
@ -667,7 +667,7 @@ static int do_efi_boot_rm(cmd_tbl_t *cmdtp, int flag,
|
||||
|
||||
ret = EFI_CALL(RT->set_variable(var_name16, &guid, 0, 0, NULL));
|
||||
if (ret) {
|
||||
printf("Cannot remove Boot%04X", id);
|
||||
printf("Cannot remove %ls\n", var_name16);
|
||||
return CMD_RET_FAILURE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user