summaryrefslogtreecommitdiff
path: root/common/cmd_unzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_unzip.c')
-rw-r--r--common/cmd_unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_unzip.c b/common/cmd_unzip.c
index 6483b9267b..43ed7915fd 100644
--- a/common/cmd_unzip.c
+++ b/common/cmd_unzip.c
@@ -39,7 +39,7 @@ static int do_unzip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
dst = simple_strtoul(argv[2], NULL, 16);
break;
default:
- return cmd_usage(cmdtp);
+ return CMD_RET_USAGE;
}
if (gunzip((void *) dst, dst_len, (void *) src, &src_len) != 0)