summaryrefslogtreecommitdiff
path: root/cmd/bcb.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-08-22 08:14:48 -0600
committerTom Rini <trini@konsulko.com>2024-08-22 08:14:48 -0600
commita481740629af5e51732b86b6ead61dc5aa5a440d (patch)
treeb34a9f7495c4d4614a2ce148ce331f667750989b /cmd/bcb.c
parent0b06e052fb153958d470209dab237f12796cb0da (diff)
parente49eeb6575152cac4241f3c87471934a726970e9 (diff)
Merge tag 'u-boot-dfu-20240822' of https://source.denx.de/u-boot/custodians/u-boot-dfu
u-boot-dfu-20240822 - Fix crash in BCB on invalid block device (reported by coverity) - Fix booting Android kernel without a ramdisk using fastboot - Fix ux500 gadget driver ops based on CONFIG_USB_MUSB_HOST
Diffstat (limited to 'cmd/bcb.c')
-rw-r--r--cmd/bcb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/bcb.c b/cmd/bcb.c
index fe6d6cb2c38..97a96c00964 100644
--- a/cmd/bcb.c
+++ b/cmd/bcb.c
@@ -172,8 +172,8 @@ static int __bcb_initialize(const char *iface, int devnum, const char *partp)
return CMD_RET_SUCCESS;
err_read_fail:
- printf("Error: %d %d:%s read failed (%d)\n", block->uclass_id,
- block->devnum, partition->name, ret);
+ printf("Error: %s %d:%s read failed (%d)\n", iface, devnum,
+ partition->name, ret);
__bcb_reset();
return CMD_RET_FAILURE;
}