]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_unzip.c
Convert cmd_usage() calls in common to use a return value
[karo-tx-uboot.git] / common / cmd_unzip.c
index 6483b9267b63b1d2367e7e679ad7419f8525e9a9..43ed7915fd1d2ae7c4000ab2e0803c2837706598 100644 (file)
@@ -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)