summaryrefslogtreecommitdiff
path: root/lib/ldb/common/ldb_modules.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-10-19 10:45:28 +1100
committerAndrew Tridgell <tridge@samba.org>2011-10-20 05:53:05 +0200
commitab50165a0235401d7920e67503c211028f55012d (patch)
treeabe4c0c1a9667b30df02b16880959fb1dd15e060 /lib/ldb/common/ldb_modules.c
parent2feb81f659801444be090b8f90b85a78a59da796 (diff)
downloadsamba-ab50165a0235401d7920e67503c211028f55012d.tar.gz
samba-ab50165a0235401d7920e67503c211028f55012d.tar.bz2
samba-ab50165a0235401d7920e67503c211028f55012d.zip
ldb: ldb_errstring() takes ldb_contxt as an argument
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'lib/ldb/common/ldb_modules.c')
-rw-r--r--lib/ldb/common/ldb_modules.c2
1 files changed, 1 insertions, 1 deletions
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;