Move cmdline and extra_cmdline to the same line

This commit is contained in:
topjohnwu 2018-11-08 20:57:30 -05:00
parent 5743c72cca
commit 3603b7c82b

View File

@ -242,8 +242,7 @@ void boot_img::print_hdr() {
fprintf(stderr, "PAGESIZE [%u]\n", page_size()); fprintf(stderr, "PAGESIZE [%u]\n", page_size());
fprintf(stderr, "NAME [%s]\n", name()); fprintf(stderr, "NAME [%s]\n", name());
fprintf(stderr, "CMDLINE [%.512s", cmdline()); fprintf(stderr, "CMDLINE [%.512s%.1024s]\n", cmdline(), extra_cmdline());
fprintf(stderr, "%.1024s]\n", extra_cmdline());
fprintf(stderr, "CHECKSUM ["); fprintf(stderr, "CHECKSUM [");
for (int i = 0; id()[i]; ++i) for (int i = 0; id()[i]; ++i)
fprintf(stderr, "%02x", id()[i]); fprintf(stderr, "%02x", id()[i]);