X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_fdc.c;h=66e0ef05805f01699e7f1da7fe4942003aef2e3b;hb=d1df0fd37388fe0dc77a75f5aece04f70cc3f7e6;hp=4fe410dd327d5a1b47d48615dd9dd1df9bf33a00;hpb=4ec6e4a88fbe4876f46f3c0dbc6292b4bb0530f0;p=u-boot diff --git a/common/cmd_fdc.c b/common/cmd_fdc.c index 4fe410dd32..66e0ef0580 100644 --- a/common/cmd_fdc.c +++ b/common/cmd_fdc.c @@ -744,7 +744,7 @@ int do_fdcboot (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) boot_drive=simple_strtoul(argv[2], NULL, 10); break; default: - return cmd_usage(cmdtp); + return CMD_RET_USAGE; } /* setup FDC and scan for drives */ if(fdc_setup(boot_drive,pCMD,pFG)==FALSE) {