diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-07-30 16:52:30 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-08-02 12:05:57 -0600 |
commit | 0236642212f87c8d589f9e16cc29503b476a45c5 (patch) | |
tree | 800b62bdd05d744dad2c2b791878ed3aa2e81031 /lib/string.c | |
parent | ca9d9263e5214d450e2693b6de297fee74ee753e (diff) |
cmd/bootdev: print readable status code
device_probe() called by the 'bootdev info' command
returns 0 or a negative error code.
itoa() cannot print negative numbers.
Convert the error code to a positive number.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions