From 5ef27019033fd73decd111f9426e7f8982cbb806 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 13 Jun 2024 17:23:23 +1200 Subject: [PATCH] s4:drsuapi:getncchanges: use DBG_ERR() macro The next commit will indent this more, so it's a bit squished up. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15701 Signed-off-by: Douglas Bagnall Reviewed-by: Jennifer Sutton --- source4/rpc_server/drsuapi/getncchanges.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index b511f4f169c..d37662bdceb 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -3029,11 +3029,14 @@ allowed: ret = drsuapi_DsReplicaHighWaterMark_cmp(&getnc_state->last_hwm, &req10->highwatermark); if (ret != 0) { - DEBUG(0,(__location__ ": DsGetNCChanges 2nd replication " - "on DN %s %s highwatermark (last_dn %s)\n", - ldb_dn_get_linearized(getnc_state->ncRoot_dn), - (ret > 0) ? "older" : "newer", - ldb_dn_get_linearized(getnc_state->last_dn))); + DBG_ERR("DsGetNCChanges 2nd replication " + "on DN %s %s highwatermark " + "(last_dn %s)\n", + ldb_dn_get_linearized( + getnc_state->ncRoot_dn), + (ret > 0) ? "older" : "newer", + ldb_dn_get_linearized( + getnc_state->last_dn)); TALLOC_FREE(getnc_state); b_state->getncchanges_full_repl_state = NULL; }