aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/db/simple_db_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/simple_db_plugin.c b/src/db/simple_db_plugin.c
index e359b5e65..e7cf41fa2 100644
--- a/src/db/simple_db_plugin.c
+++ b/src/db/simple_db_plugin.c
@@ -68,7 +68,7 @@ simple_db_init(const struct config_param *param, GError **error_r)
db_base_init(&db->base, &simple_db_plugin);
GError *error = NULL;
- db->path = config_dup_block_path(param, "path", error_r);
+ db->path = config_dup_block_path(param, "path", &error);
if (db->path == NULL) {
g_free(db);
if (error != NULL)