diff options
-rw-r--r-- | cmd/sleep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sleep.c b/cmd/sleep.c index f0c78a8..1fff400 100644 --- a/cmd/sleep.c +++ b/cmd/sleep.c @@ -40,7 +40,7 @@ static int do_sleep(struct cmd_tbl *cmdtp, int flag, int argc, while (get_timer(start) < delay) { if (ctrlc()) - return (-1); + return CMD_RET_FAILURE; udelay(100); } |