aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_usb.c')
-rw-r--r--common/cmd_usb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index bf56c6ac16b..23413b51035 100644
--- a/common/cmd_usb.c
+++ b/common/cmd_usb.c
@@ -549,8 +549,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) {