diff options
Diffstat (limited to 'common/cmd_bootm.c')
| -rw-r--r-- | common/cmd_bootm.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 6bfef6292..93045841f 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -493,12 +493,12 @@ int do_bootm_subcommand(cmd_tbl_t *cmdtp, int flag, int argc,  		}  	} else {  		/* Unrecognized command */ -		return cmd_usage(cmdtp); +		return CMD_RET_USAGE;  	}  	if (images.state >= state) {  		printf("Trying to execute a command out of order\n"); -		return cmd_usage(cmdtp); +		return CMD_RET_USAGE;  	}  	images.state |= state; |