summaryrefslogtreecommitdiff
path: root/common/cmd_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_strings.c')
-rw-r--r--common/cmd_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_strings.c b/common/cmd_strings.c
index 2986324bc0..41b1665926 100644
--- a/common/cmd_strings.c
+++ b/common/cmd_strings.c
@@ -15,7 +15,7 @@ static char *start_addr, *last_addr;
int do_strings(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
if (argc == 1)
- return cmd_usage(cmdtp);
+ return CMD_RET_USAGE;
if ((flag & CMD_FLAG_REPEAT) == 0) {
start_addr = (char *)simple_strtoul(argv[1], NULL, 16);