]> Git Repo - u-boot.git/commit
CMD: random: fix return code
authorEugeniy Paltsev <[email protected]>
Fri, 20 Mar 2020 16:38:17 +0000 (19:38 +0300)
committerTom Rini <[email protected]>
Mon, 27 Apr 2020 18:55:29 +0000 (14:55 -0400)
commit5f2c4e0129bf644dbde3c75119406eceaded2aa2
treec73fd3853c848668d34ee8534dc581bf72a4e940
parentd16d37bcd4087b8ea0f66cb76a73edad182d151a
CMD: random: fix return code

As of today 'random' command return 1 (CMD_RET_FAILURE) in case
of successful execution and 0 (CMD_RET_SUCCESS) in case of bad
arguments. Fix that.

NOTE: we remove printing usage information from command body
so it won't print twice.

Signed-off-by: Eugeniy Paltsev <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
cmd/mem.c
This page took 0.035992 seconds and 4 git commands to generate.