]> git.ozlabs.org Git - petitboot/blobdiff - discover/kboot-parser.c
Refactor parser routine conf_get_param_pair()
[petitboot] / discover / kboot-parser.c
index 025f13b6afa1bd8e32606da013f6dc2a15f4f667..ab508ec8df5b253ca7617c670693e0dbb22e2e61 100644 (file)
@@ -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);