diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-10-19 10:45:28 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-10-20 05:53:05 +0200 |
commit | ab50165a0235401d7920e67503c211028f55012d (patch) | |
tree | abe4c0c1a9667b30df02b16880959fb1dd15e060 /lib/ldb/common/ldb_modules.c | |
parent | 2feb81f659801444be090b8f90b85a78a59da796 (diff) | |
download | samba-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.c | 2 |
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; |