]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_log.c
Convert cmd_usage() calls in common to use a return value
[people/ms/u-boot.git] / common / cmd_log.c
index 249614f340af6885eda4721f55f22a8468246d84..f9fbe002c6bcaf76d0670ea8cee383998592400f 100644 (file)
@@ -241,10 +241,10 @@ int do_log (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                        }
                        return 0;
                }
-               return cmd_usage(cmdtp);
+               return CMD_RET_USAGE;
 
        default:
-               return cmd_usage(cmdtp);
+               return CMD_RET_USAGE;
        }
 }