From ab50165a0235401d7920e67503c211028f55012d Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Wed, 19 Oct 2011 10:45:28 +1100 Subject: ldb: ldb_errstring() takes ldb_contxt as an argument Signed-off-by: Andrew Tridgell --- lib/ldb/common/ldb_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldb/common/ldb_modules.c b/lib/ldb/common/ldb_modules.c index c8a53e2a05..47ec434be0 100644 --- a/lib/ldb/common/ldb_modules.c +++ b/lib/ldb/common/ldb_modules.c @@ -218,7 +218,7 @@ int ldb_module_connect_backend(struct ldb_context *ldb, if (ret != LDB_SUCCESS) { ldb_debug(ldb, LDB_DEBUG_ERROR, - "Failed to connect to '%s' with backend '%s': %s", url, be->ops->name, ldb_errstring(ret)); + "Failed to connect to '%s' with backend '%s': %s", url, be->ops->name, ldb_errstring(ldb)); return ret; } return ret; -- cgit