summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-11 09:47:08 -0600
committerSimon Glass <sjg@chromium.org>2022-10-17 21:17:12 -0600
commitf06443f9d5dfc616b05d3526c258044bfce77419 (patch)
tree935ea51d1b8b118cac47808ff9b8c615f528ad16 /lib/string.c
parent13819f07ea6c60e87b708755a53954b8c0c99a32 (diff)
bootm: Avoid returning error codes from command
Functions which implement commands must return a CMD_RET_... error code. At present bootm can return a negative errno value in some cases, thus causing strange behaviour such as trying to exit the shell and printing usage information. Fix this by returning the correct value. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions