fiasco: Show verbose hexdump information about unknown section

This commit is contained in:
Pali Rohár committed 2021-05-02 17:06:20 +02:00
1 parent 1f466936cb
commit e65d7d1636
1 file changed
+5 -1
+5 -1
View File
@@ -272,7 +272,11 @@ struct fiasco * fiasco_alloc_from_file(const char * file) {
VERBOSE(" partition name: %s\n", image_part->name);
}
} else {
VERBOSE("unknown ('%c':%#x)\n", byte, byte);
int i;
VERBOSE("unknown (%#x)\n", byte);
VERBOSE(" hexdump:");
for ( i = 0; i < length8; i++ ) VERBOSE(" 0x%02x", buf[i]);
VERBOSE("\n");
}
--count8;