From d83dea446343b2d596bf73b7ab868d56e0fe3f44 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Thu, 5 Jan 2012 22:24:23 +0100
Subject: [PATCH] db/simple: pass the correct GError pointer

---
 src/db/simple_db_plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)