]> Git Repo - J-u-boot.git/blobdiff - cmd/bcb.c
Merge tag 'efi-2025-01-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
[J-u-boot.git] / cmd / bcb.c
index f3b92564d10bb0040b208ccbc1dcd9991d46c35d..97a96c009641cc094645607ef833575f3c03fe4b 100644 (file)
--- a/cmd/bcb.c
+++ b/cmd/bcb.c
@@ -8,12 +8,12 @@
 #include <android_bootloader_message.h>
 #include <bcb.h>
 #include <command.h>
-#include <common.h>
 #include <display_options.h>
 #include <log.h>
 #include <part.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <vsprintf.h>
 #include <linux/err.h>
 
 enum bcb_cmd {
@@ -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;
 }
This page took 0.026484 seconds and 4 git commands to generate.