summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/repl/drepl_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_service.c b/source4/dsdb/repl/drepl_service.c
index 11f81bbed2..c8bbcfeb17 100644
--- a/source4/dsdb/repl/drepl_service.c
+++ b/source4/dsdb/repl/drepl_service.c
@@ -226,7 +226,7 @@ static NTSTATUS drepl_replica_sync(struct irpc_message *msg,
struct dreplsrv_service);
#define REPLICA_SYNC_FAIL(_msg, _werr) do {\
- if (!W_ERROR_IS_OK(werr)) { \
+ if (!W_ERROR_IS_OK(_werr)) { \
DEBUG(0,(__location__ ": Failure - %s. werr = %s\n", \
_msg, win_errstr(_werr))); \
NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaSync, r); \