summaryrefslogtreecommitdiffstats
path: root/discover/kboot-parser.c
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-07-09 10:40:44 -0700
committerGeoff Levand <geoffrey.levand@am.sony.com>2009-07-09 10:40:44 -0700
commit3f82d6fc10a582ba3f558b69c14ab4ab7234e5ea (patch)
treeb117b124cff9bc86045a49cf2a68bf9746cdda54 /discover/kboot-parser.c
parent4d31064a2a8ad030a1bffc75d5a7b6e2407c350a (diff)
downloadtalos-petitboot-3f82d6fc10a582ba3f558b69c14ab4ab7234e5ea.zip
talos-petitboot-3f82d6fc10a582ba3f558b69c14ab4ab7234e5ea.tar.gz
Zero parser globals before use
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'discover/kboot-parser.c')
-rw-r--r--discover/kboot-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c
index e688c22..23d48a4 100644
--- a/discover/kboot-parser.c
+++ b/discover/kboot-parser.c
@@ -137,6 +137,7 @@ static int kboot_parse(struct discover_context *dc)
conf->dc = dc;
conf->global_options = kboot_global_options,
+ conf_init_global_options(conf);
conf->conf_files = kboot_conf_files,
conf->process_pair = kboot_process_pair;
conf->parser_info = (void *)kboot_ignored_names,
OpenPOWER on IntegriCloud