summaryrefslogtreecommitdiffstats
path: root/common/cmd_fdos.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_fdos.c')
-rw-r--r--common/cmd_fdos.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_fdos.c b/common/cmd_fdos.c
index 00f7e88e12..a8822d91b0 100644
--- a/common/cmd_fdos.c
+++ b/common/cmd_fdos.c
@@ -73,8 +73,7 @@ int do_fdosboot(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
name = argv [2];
break;
default:
- cmd_usage(cmdtp);
- break;
+ return cmd_usage(cmdtp);
}
/* Init physical layer */
OpenPOWER on IntegriCloud