]> git.ozlabs.org Git - petitboot/blobdiff - discover/kboot-parser.c
discover/kboot: Fix boot_option initialisation
[petitboot] / discover / kboot-parser.c
index f0976746ee80241e679124ee443e3b4a1193b983..4064a3ee30db832f12116c68d27e780ef16510aa 100644 (file)
@@ -45,6 +45,7 @@ static void kboot_process_pair(struct conf_context *conf, const char *name,
        opt->id = talloc_asprintf(opt, "%s#%s", conf->dc->device->device->id,
                        name);
        opt->name = talloc_strdup(opt, name);
+       d_opt->option = opt;
 
        args = talloc_strdup(opt, "");
        initrd = conf_get_global_option(conf, "initrd");