1 parent 0726dd3 commit f68b50dCopy full SHA for f68b50d
1 file changed
src/bbootimg.c
@@ -294,7 +294,12 @@ static int print_info(const char *path)
294
printf ("* image size = %ld bytes (%.2f MB)\n", size, (double)size/0x100000);
295
printf (" page size = %u bytes\n\n", img.hdr.page_size);
296
297
- printf ("* Boot Name = \"%s\"\n\n", name);
+ printf ("* Boot Name = \"%s\" [ ", name);
298
+ for (i = 0; i < BOOT_NAME_SIZE && name[i] != '\0'; ++i)
299
+ {
300
+ printf ("0x%02X ", name[i]);
301
+ }
302
+ printf ("]\n\n", name);
303
304
printf ("* kernel size = %u bytes (%.2f MB)\n", img.hdr.kernel_size, (double)img.hdr.kernel_size/0x100000);
305
printf (" ramdisk size = %u bytes (%.2f MB)\n", img.hdr.ramdisk_size, (double)img.hdr.ramdisk_size/0x100000);
0 commit comments