summaryrefslogtreecommitdiffstats
path: root/discover/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/boot.c')
-rw-r--r--discover/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/boot.c b/discover/boot.c
index 6109562..02618cc 100644
--- a/discover/boot.c
+++ b/discover/boot.c
@@ -117,9 +117,9 @@ int boot(void *ctx, struct boot_option *opt, struct boot_command *cmd,
}
if (cmd->initrd_file) {
- image = talloc_strdup(ctx, cmd->initrd_file);
+ initrd = talloc_strdup(ctx, cmd->initrd_file);
} else if (opt && opt->initrd_file) {
- image = talloc_strdup(ctx, opt->initrd_file);
+ initrd = talloc_strdup(ctx, opt->initrd_file);
}
if (cmd->boot_args) {
OpenPOWER on IntegriCloud