commit | 0236642212f87c8d589f9e16cc29503b476a45c5 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Jul 30 16:52:30 2023 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed Aug 02 12:05:57 2023 -0600 |
tree | 800b62bdd05d744dad2c2b791878ed3aa2e81031 | |
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>