From c47d73f6c495d1585fa369c75da1173e78002da0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 14 Aug 2012 10:46:26 +0200 Subject: s4:dsdb/repl: ldb_errstring() takes a 'struct ldb_context' not 'int' metze Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Tue Aug 14 13:58:31 CEST 2012 on sn-devel-104 --- source4/dsdb/repl/replicated_objects.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit