summaryrefslogtreecommitdiffstats
path: root/devices
diff options
context:
space:
mode:
Diffstat (limited to 'devices')
-rw-r--r--devices/kboot-parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/devices/kboot-parser.c b/devices/kboot-parser.c
index 27f3025..4b997e7 100644
--- a/devices/kboot-parser.c
+++ b/devices/kboot-parser.c
@@ -121,6 +121,7 @@ static int parse_option(struct boot_option *opt, char *config)
root = value;
} else {
+ strcat(cmdline, " ");
*(value - 1) = '=';
strcat(cmdline, name);
}
@@ -149,7 +150,7 @@ static int parse_option(struct boot_option *opt, char *config)
printf("kboot cmdline: %s", cmdline);
opt->boot_args = cmdline;
- asprintf(&opt->description, "%s %s", opt->boot_image_file, cmdline);
+ asprintf(&opt->description, "%s %s", config, cmdline);
return 1;
}
OpenPOWER on IntegriCloud