aboutsummaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/db')
-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 e359b5e6..e7cf41fa 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)