[PATCH 1/1] cmd/bootdev: print readable status code

Simon Glass sjg at chromium.org
Wed Aug 2 20:07:42 CEST 2023

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 at canonical.com>
 cmd/bootdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm, thanks!

More information about the U-Boot mailing list