summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-14 10:46:26 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-14 13:58:31 +0200
commitc47d73f6c495d1585fa369c75da1173e78002da0 (patch)
tree89cfcba8eff6e56bed291e793ddc6582863d2918 /source4/dsdb/repl
parent0b926a27d8984a3e8ad9cefa49981f9ab2dd6480 (diff)
downloadsamba-c47d73f6c495d1585fa369c75da1173e78002da0.tar.gz
samba-c47d73f6c495d1585fa369c75da1173e78002da0.tar.bz2
samba-c47d73f6c495d1585fa369c75da1173e78002da0.zip
s4:dsdb/repl: ldb_errstring() takes a 'struct ldb_context' not 'int'
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Aug 14 13:58:31 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/replicated_objects.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 91ca4b89a2..829c4409aa 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -762,7 +762,8 @@ WERROR dsdb_replicated_objects_commit(struct ldb_context *ldb,
if (ret == LDB_SUCCESS) {
ret = ldb_transaction_commit(ldb);
} else {
- DEBUG(0, ("Schema update now failed: %s\n", ldb_errstring(ret)));
+ DEBUG(0, ("Schema update now failed: %s\n",
+ ldb_errstring(ldb)));
ldb_transaction_cancel(ldb);
}