[PATCH] cmd: misc: Fix return value for the sleep command

Simon Glass sjg at chromium.org
Sun Jan 24 03:03:28 CET 2021


On Fri, 22 Jan 2021 at 04:27, Marek Szyprowski <m.szyprowski at samsung.com> wrote:
>
> If sleeping has been interrupted, return CMD_RET_FAILURE instead of -1
> (CMD_RET_USAGE).
>
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> ---
>  cmd/sleep.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list