projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More robusst comment-ignoring in kboot parser.
[petitboot]
/
devices
/
kboot-parser.c
diff --git
a/devices/kboot-parser.c
b/devices/kboot-parser.c
index b845d8498779184a5bbe576f9c7c45161838fab0..448575929abc1fa9e7e3cefbe13ab4a64dbc9f59 100644
(file)
--- 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);