diff options
Diffstat (limited to 'common/cmd_ext2.c')
-rw-r--r-- | common/cmd_ext2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c index 35fb36194c9..79b1e2fb62f 100644 --- a/common/cmd_ext2.c +++ b/common/cmd_ext2.c @@ -66,7 +66,7 @@ int do_ext2ls (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) int part_length; if (argc < 3) - return cmd_usage(cmdtp); + return CMD_RET_USAGE; dev = (int)simple_strtoul (argv[2], &ep, 16); dev_desc = get_dev(argv[1],dev); @@ -163,7 +163,7 @@ int do_ext2load (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) break; default: - return cmd_usage(cmdtp); + return CMD_RET_USAGE; } if (!filename) { |