X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fkboot-parser.c;h=429ae096ddccc0573056052243e80faaf85de2e4;hp=7c7cb5d0aa08f645c81ac12f0d441f44672c9ce5;hb=54f94570b65095c5b9251981956102d3f2864f90;hpb=de0c5004fb5ac4a7afc7e231876ff0a8eead4e2c diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c index 7c7cb5d..429ae09 100644 --- a/discover/kboot-parser.c +++ b/discover/kboot-parser.c @@ -21,6 +21,11 @@ static void kboot_process_pair(struct conf_context *conf, const char *name, const char *root; struct boot_option *opt; + /* fixup for bare values */ + + if (!name) + return; + if (conf_param_in_list(ignored_names, name)) return;