summaryrefslogtreecommitdiff
path: root/tests/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors.c')
-rw-r--r--tests/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errors.c b/tests/errors.c
index 2bcf14c..d1dec96 100644
--- a/tests/errors.c
+++ b/tests/errors.c
@@ -21,7 +21,7 @@ void test_errors(const char *test_dir) {
char *conf_path = malloc(strlen(errors_dir) + strlen(name) + 30);
sprintf(conf_path, "%s/errors/%s", test_dir, name);
pom_error *error;
- pom_conf *conf = pom_load_path(conf_path, &error);
+ pom_conf *conf = pom_load_path(NULL, conf_path, &error);
if (error) {
free(error);
free(conf_path);