summaryrefslogtreecommitdiff
path: root/common/cmd_fitupd.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_fitupd.c')
-rw-r--r--common/cmd_fitupd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fitupd.c b/common/cmd_fitupd.c
index 4d1192b5e52..7a3789e3ed4 100644
--- a/common/cmd_fitupd.c
+++ b/common/cmd_fitupd.c
@@ -20,7 +20,7 @@ static int do_fitupd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
ulong addr = 0UL;
if (argc > 2)
- return cmd_usage(cmdtp);
+ return CMD_RET_USAGE;
if (argc == 2)
addr = simple_strtoul(argv[1], NULL, 16);