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>
Loading
Please register or sign in to comment