summaryrefslogtreecommitdiff
path: root/common/cmd_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_misc.c')
-rw-r--r--common/cmd_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_misc.c b/common/cmd_misc.c
index 061b1bbad0..973b1c2082 100644
--- a/common/cmd_misc.c
+++ b/common/cmd_misc.c
@@ -33,7 +33,7 @@ int do_sleep (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
ulong delay;
if (argc != 2)
- return cmd_usage(cmdtp);
+ return CMD_RET_USAGE;
delay = simple_strtoul(argv[1], NULL, 10) * CONFIG_SYS_HZ;