Commit 3603b7c8 authored by topjohnwu's avatar topjohnwu

Move cmdline and extra_cmdline to the same line

parent 5743c72c
...@@ -242,8 +242,7 @@ void boot_img::print_hdr() { ...@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment