]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_usb.c
USB Storage, add meaningful return value
[people/ms/u-boot.git] / common / cmd_usb.c
index c6b17c2ab7ad2af8d74ac4ce4c55c63e07f60dac..ad3240708b014464ee6d28334957f54f59156237 100644 (file)
@@ -529,8 +529,7 @@ int do_usb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        }
 
        if (strncmp(argv[1], "stor", 4) == 0) {
-               usb_stor_info();
-               return 0;
+               return usb_stor_info();
        }
 
        if (strncmp(argv[1],"part",4) == 0) {