]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Modernize a DEBUG
authorVolker Lendecke <vl@samba.org>
Thu, 2 Jan 2025 16:32:45 +0000 (17:32 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 23 Jan 2025 23:08:38 +0000 (23:08 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/close.c

index 61365ee723738a6b2b512de5f2c4ea1ee319b95a..1aa3bc293846dbf4b8587cac3968c79b804d90fe 100644 (file)
@@ -1151,9 +1151,9 @@ static NTSTATUS rmdir_internals(TALLOC_CTX *ctx, struct files_struct *fsp)
        }
 
        if (!((errno == ENOTEMPTY) || (errno == EEXIST))) {
-               DEBUG(3,("rmdir_internals: couldn't remove directory %s : "
-                        "%s\n", smb_fname_str_dbg(smb_dname),
-                        strerror(errno)));
+               DBG_NOTICE("couldn't remove directory %s : %s\n",
+                          smb_fname_str_dbg(smb_dname),
+                          strerror(errno));
                TALLOC_FREE(parent_fname);
                return map_nt_error_from_unix(errno);
        }