diff options
author | Sean Anderson <sean.anderson@seco.com> | 2021-02-05 17:38:55 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-02-26 17:30:55 +0300 |
commit | 59715754e1d1d9279f38d70df1c3c2949a5e5203 (patch) | |
tree | ab8726d8a56e72bf10dd9289548e4d7f96bb46f8 /cmd | |
parent | d4f22cb39e92ebfce74003b5779d6d6addc797e2 (diff) | |
download | u-boot-59715754e1d1d9279f38d70df1c3c2949a5e5203.tar.xz |
part: Give several functions more useful return values
Several functions in disk/part.c just return -1 on error. This makes them
return different errnos for different failures. This helps callers
differentiate between failures, even if they cannot read stdout.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions