From: Volker Lendecke Date: Thu, 2 Jan 2025 16:32:45 +0000 (+0100) Subject: smbd: Modernize a DEBUG X-Git-Tag: tdb-1.4.13~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fb5480d82e71f2ae1c5dfad07eabb204ec9e8dc;p=thirdparty%2Fsamba.git smbd: Modernize a DEBUG Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 61365ee7237..1aa3bc29384 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -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); }