Commit 96afa61c authored by Mike Hibler's avatar Mike Hibler

print out command line if given for a partition boot

parent 3b61176b
......@@ -153,7 +153,10 @@ main(int argc, char **argv)
switch (boot_whatp->type) {
case BIBOOTWHAT_TYPE_PART:
printf("partition:%d\n", boot_whatp->what.partition);
printf("partition:%d", boot_whatp->what.partition);
if (boot_whatp->cmdline[0])
printf(" %s", boot_whatp->cmdline);
printf("\n");
goto done;
break;
case BIBOOTWHAT_TYPE_WAIT:
......
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