diff options
Diffstat (limited to 'common/cmd_date.c')
-rw-r--r-- | common/cmd_date.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_date.c b/common/cmd_date.c index f0fa02ae22f..335bc05f2ab 100644 --- a/common/cmd_date.c +++ b/common/cmd_date.c @@ -93,8 +93,7 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) break; default: - cmd_usage(cmdtp); - rcode = 1; + rcode = CMD_RET_USAGE; } /* switch back to original I2C bus */ |