]> Git Repo - u-boot.git/commit
cmd/bootdev: print readable status code
authorHeinrich Schuchardt <[email protected]>
Sun, 30 Jul 2023 14:52:30 +0000 (16:52 +0200)
committerSimon Glass <[email protected]>
Wed, 2 Aug 2023 18:05:57 +0000 (12:05 -0600)
commit0236642212f87c8d589f9e16cc29503b476a45c5
tree800b62bdd05d744dad2c2b791878ed3aa2e81031
parentca9d9263e5214d450e2693b6de297fee74ee753e
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 <[email protected]>
cmd/bootdev.c
This page took 0.033615 seconds and 4 git commands to generate.