fiasco: Show verbose hexdump information about unknown section
This commit is contained in:
1 parent
1f466936cb
commit
e65d7d1636
1 file changed
+5
-1
+5
-1
@@ -272,7 +272,11 @@ struct fiasco * fiasco_alloc_from_file(const char * file) {
|
|||||||
VERBOSE(" partition name: %s\n", image_part->name);
|
VERBOSE(" partition name: %s\n", image_part->name);
|
||||||
}
|
}
|
||||||
} else {
|
} 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;
|
--count8;
|
||||||
|
|||||||
Reference in new issue
Block a user