diff options
Diffstat (limited to 'devices/kboot-parser.c')
-rw-r--r-- | devices/kboot-parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devices/kboot-parser.c b/devices/kboot-parser.c index b845d84..4485759 100644 --- a/devices/kboot-parser.c +++ b/devices/kboot-parser.c @@ -171,6 +171,9 @@ static void parse_buf(struct device *dev, char *buf) if (name == NULL || param_is_ignored(name)) continue; + if (*name == '#') + continue; + memset(&opt, 0, sizeof(opt)); opt.name = strdup(name); |