summaryrefslogtreecommitdiff
path: root/cmd/efidebug.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-03-05 08:51:48 -0500
committerTom Rini <trini@konsulko.com>2019-03-05 08:51:48 -0500
commitca1e50063af7d21f37ed5d1209908a77698b1b68 (patch)
treed1626fb9e89bc7947bc99905a9047ea5a125dc01 /cmd/efidebug.c
parentf08023c07d826fbc8e62fdd3367961b2f0b06844 (diff)
parent1a9fce50393d2e7b7c3adb70764ab22a9267d815 (diff)
Merge tag 'efi-2019-04-rc4' of https://github.com/xypron2/u-boot
Pull request for the UEFI subsystem for v2019.04-rc4 This pull request contains only bug fixes. The most notable bug fixed was writing to random memory addresses when trying to add a HII package of a yet unsupported package type.
Diffstat (limited to 'cmd/efidebug.c')
-rw-r--r--cmd/efidebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/efidebug.c b/cmd/efidebug.c
index 5072a7b39bc..db96682c5a4 100644
--- a/cmd/efidebug.c
+++ b/cmd/efidebug.c
@@ -491,7 +491,7 @@ static int do_efi_boot_add(cmd_tbl_t *cmdtp, int flag,
id = (int)simple_strtoul(argv[1], &endp, 16);
if (*endp != '\0' || id > 0xffff)
- return CMD_RET_FAILURE;
+ return CMD_RET_USAGE;
sprintf(var_name, "Boot%04X", id);
p = var_name16;