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 c8bbcfeb17..2f9a5d5dc4 100644
--- a/source4/dsdb/repl/drepl_service.c
+++ b/source4/dsdb/repl/drepl_service.c
@@ -308,7 +308,7 @@ static NTSTATUS drepl_replica_sync(struct irpc_message *msg,
}
if (!W_ERROR_IS_OK(werr)) {
REPLICA_SYNC_FAIL("Failed to locate source DSA for given NC",
- WERR_DS_DRA_NO_REPLICA);
+ werr);
}
/* schedule replication item */