]> git.ozlabs.org Git - petitboot/blobdiff - discover/yaboot-parser.c
discover: Remove {U,}MOUNT_BIN defines
[petitboot] / discover / yaboot-parser.c
index 1000505b9681df66da2bfff4e17709d503c0175e..430649266aa77bcf6f67f5a1ed89466e441cd129 100644 (file)
@@ -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);