summaryrefslogtreecommitdiffstats
path: root/discover/yaboot-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/yaboot-parser.c
parent4d31064a2a8ad030a1bffc75d5a7b6e2407c350a (diff)
downloadtalos-petitboot-3f82d6fc10a582ba3f558b69c14ab4ab7234e5ea.tar.gz
talos-petitboot-3f82d6fc10a582ba3f558b69c14ab4ab7234e5ea.zip
Zero parser globals before use
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'discover/yaboot-parser.c')
-rw-r--r--discover/yaboot-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/yaboot-parser.c b/discover/yaboot-parser.c
index d9f2aff..5224bb3 100644
--- a/discover/yaboot-parser.c
+++ b/discover/yaboot-parser.c
@@ -240,6 +240,7 @@ static int yaboot_parse(struct discover_context *dc)
conf->dc = dc;
conf->global_options = yaboot_global_options,
+ conf_init_global_options(conf);
conf->conf_files = yaboot_conf_files,
conf->process_pair = yaboot_process_pair;
conf->finish = yaboot_finish;
OpenPOWER on IntegriCloud