summaryrefslogtreecommitdiffstats
path: root/discover/kboot-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/kboot-parser.c')
-rw-r--r--discover/kboot-parser.c5
1 files changed, 5 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud