X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fkboot-parser.c;h=ab508ec8df5b253ca7617c670693e0dbb22e2e61;hb=60384121c27eb92c25955a06e8dea088290f938b;hp=429ae096ddccc0573056052243e80faaf85de2e4;hpb=54f94570b65095c5b9251981956102d3f2864f90;p=petitboot diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c index 429ae09..ab508ec 100644 --- a/discover/kboot-parser.c +++ b/discover/kboot-parser.c @@ -57,7 +57,7 @@ static void kboot_process_pair(struct conf_context *conf, const char *name, for (pos++; pos;) { char *cl_name, *cl_value; - pos = conf_get_param_pair(pos, &cl_name, &cl_value, ' '); + pos = conf_get_pair_equal(conf, pos, &cl_name, &cl_value, ' '); if (!cl_name) { args = talloc_asprintf_append(args, "%s ", cl_value); @@ -153,4 +153,4 @@ static int kboot_parse(struct discover_context *dc) return rc; } -define_parser(kboot, 98, kboot_parse); +define_parser(kboot, kboot_parse);