s4/ldap_backend: encode: use modern DBG_ macro
authorBjörn Jacke <bjacke@samba.org>
Mon, 25 Dec 2023 20:22:48 +0000 (21:22 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 29 Dec 2023 12:49:34 +0000 (12:49 +0000)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/ldap_server/ldap_backend.c

index 81ab388cee32827dfd4a5967bafa9a1067ddb8c7..da1ad469105a2940c48720e159ba08d9870df306 100644 (file)
@@ -289,9 +289,9 @@ static NTSTATUS ldapsrv_encode(TALLOC_CTX *mem_ctx,
                                &reply->blob,
                                mem_ctx);
        if (!bret) {
-               DEBUG(0,("Failed to encode ldap reply of type %d: "
+               DBG_ERR("Failed to encode ldap reply of type %d: "
                         "ldap_encode() failed\n",
-                        reply->msg->type));
+                        reply->msg->type);
                TALLOC_FREE(reply->msg);
                return NT_STATUS_NO_MEMORY;
        }