summaryrefslogtreecommitdiffstats
path: root/common/cmd_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_pci.c')
-rw-r--r--common/cmd_pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_pci.c b/common/cmd_pci.c
index 358ca60b81..4bde059911 100644
--- a/common/cmd_pci.c
+++ b/common/cmd_pci.c
@@ -534,8 +534,7 @@ int do_pci (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 1;
usage:
- cmd_usage(cmdtp);
- return 1;
+ return cmd_usage(cmdtp);
}
/***************************************************/
OpenPOWER on IntegriCloud