git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8bced6
)
cmd: efidebug: correct error message
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Mon, 2 Mar 2020 19:13:10 +0000
(20:13 +0100)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 11 Mar 2020 07:23:05 +0000
(08:23 +0100)
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>
cmd/efidebug.c
patch
|
blob
|
history
diff --git
a/cmd/efidebug.c
b/cmd/efidebug.c
index
056ebb1
..
8c3681c
100644
(file)
--- a/
cmd/efidebug.c
+++ b/
cmd/efidebug.c
@@
-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;
}
}