X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fyaboot-parser.c;h=430649266aa77bcf6f67f5a1ed89466e441cd129;hp=1000505b9681df66da2bfff4e17709d503c0175e;hb=24236269ce5126dfa60af60a925da503a7338c4d;hpb=49ebdeb3ffc0224f3f4bbf1f00beaa5007d38fd5 diff --git a/discover/yaboot-parser.c b/discover/yaboot-parser.c index 1000505..4306492 100644 --- a/discover/yaboot-parser.c +++ b/discover/yaboot-parser.c @@ -295,12 +295,13 @@ static int yaboot_parse(struct discover_context *dc) conf = talloc_zero(dc, struct conf_context); if (!conf) - return -1; + return 0; conf->dc = dc; conf->global_options = yaboot_global_options, conf_init_global_options(conf); conf->conf_files = yaboot_conf_files, + conf->get_pair = conf_get_pair_equal; conf->process_pair = yaboot_process_pair; conf->finish = yaboot_finish; conf->parser_info = state = talloc_zero(conf, struct yaboot_state); @@ -318,4 +319,4 @@ static int yaboot_parse(struct discover_context *dc) return rc; } -define_parser(yaboot, 99, yaboot_parse); +define_parser(yaboot, yaboot_parse);