]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_irq.c
Convert cmd_usage() calls in common to use a return value
[karo-tx-uboot.git] / common / cmd_irq.c
index d35a43fc5e9b8ec2605be286afb347f09bbaf883..9f158ef6e3bea4b13781752dfb440ad1600ec952 100644 (file)
@@ -28,7 +28,7 @@ int do_interrupts(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
 
        if (argc != 2)
-               return cmd_usage(cmdtp);
+               return CMD_RET_USAGE;
 
        /* on */
        if (strncmp(argv[1], "on", 2) == 0)