commit | 11913743e6bf06a8236f6dca41a12520ef0094c0 | [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 | 91592d6d88cff3443accb7b096c1c3600e0daf6c [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>