summaryrefslogtreecommitdiff
path: root/common/cmd_sha1sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_sha1sum.c')
-rw-r--r--common/cmd_sha1sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_sha1sum.c b/common/cmd_sha1sum.c
index 2b2dd8b45a8..2713a14f1f0 100644
--- a/common/cmd_sha1sum.c
+++ b/common/cmd_sha1sum.c
@@ -32,7 +32,7 @@ static int do_sha1sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
u8 output[20];
if (argc < 3)
- return cmd_usage(cmdtp);
+ return CMD_RET_USAGE;
addr = simple_strtoul(argv[1], NULL, 16);
len = simple_strtoul(argv[2], NULL, 16);