]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Modernize DEBUGs
authorVolker Lendecke <vl@samba.org>
Mon, 27 Oct 2025 12:23:29 +0000 (13:23 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Nov 2025 13:29:30 +0000 (13:29 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/open.c

index d485ba49496a2ccc53171ecf9eba9d5fa3fe8740..c730adf11ad9fa3c845c4b26dc550af51175001c 100644 (file)
@@ -6824,7 +6824,7 @@ NTSTATUS create_file_default(connection_struct *conn,
        }
 
  done:
-       DEBUG(10, ("create_file: info=%d\n", info));
+       DBG_DEBUG("info=%d\n", info);
 
        *result = fsp;
        if (pinfo != NULL) {
@@ -6833,7 +6833,7 @@ NTSTATUS create_file_default(connection_struct *conn,
        return NT_STATUS_OK;
 
  fail:
-       DEBUG(10, ("create_file: %s\n", nt_errstr(status)));
+       DBG_DEBUG("%s\n", nt_errstr(status));
 
        if (fsp != NULL) {
                close_file_free(req, &fsp, ERROR_CLOSE);