summaryrefslogtreecommitdiff
path: root/cmd/bootdev.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-08-02 17:33:09 -0400
committerTom Rini <trini@konsulko.com>2023-08-02 17:33:09 -0400
commit35e6c89b76fcdad101e0a706e4706ac11cb8642d (patch)
tree26db2605eaac51131a79230267f21332dee797a4 /cmd/bootdev.c
parent38dedebc547f795efc3daad17f7c013c515e1285 (diff)
parent288ae53cb73605500b7fc01e5919753c878466be (diff)
Merge tag 'dm-pull-2aug23' of https://source.denx.de/u-boot/custodians/u-boot-dm
binman fixes for options, etc. binman template fixes / tweaks
Diffstat (limited to 'cmd/bootdev.c')
-rw-r--r--cmd/bootdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootdev.c b/cmd/bootdev.c
index 5b1efaaee87..a657de6bd0f 100644
--- a/cmd/bootdev.c
+++ b/cmd/bootdev.c
@@ -99,7 +99,7 @@ static int do_bootdev_info(struct cmd_tbl *cmdtp, int flag, int argc,
printf("Name: %s\n", dev->name);
printf("Sequence: %d\n", dev_seq(dev));
- printf("Status: %s\n", ret ? simple_itoa(ret) : device_active(dev) ?
+ printf("Status: %s\n", ret ? simple_itoa(-ret) : device_active(dev) ?
"Probed" : "OK");
printf("Uclass: %s\n", dev_get_uclass_name(dev_get_parent(dev)));
printf("Bootflows: %d (%d valid)\n", i, num_valid);