diff options
Diffstat (limited to 'common/cmd_setexpr.c')
-rw-r--r-- | common/cmd_setexpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_setexpr.c b/common/cmd_setexpr.c index 1ff12329bc..1b3edb7b02 100644 --- a/common/cmd_setexpr.c +++ b/common/cmd_setexpr.c @@ -58,7 +58,7 @@ int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) /* Validate arguments */ if ((argc != 5) || (strlen(argv[3]) != 1)) - return cmd_usage(cmdtp); + return CMD_RET_USAGE; w = cmd_get_data_size(argv[0], 4); |