From 845aaadccdb2dd7ab670da16b25b73593db8ebd5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 7 Jun 2021 16:27:22 -0700 Subject: [PATCH] s3: smbd: open_directory(). Cleanup debug message to refer to correct function. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/smbd/open.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index a058e390662..1d911902c13 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -4652,10 +4652,10 @@ static NTSTATUS open_directory(connection_struct *conn, false, access_mask); if (!NT_STATUS_IS_OK(status)) { - DEBUG(10, ("open_directory: smbd_check_access_rights on " - "file %s failed with %s\n", - smb_fname_str_dbg(smb_dname), - nt_errstr(status))); + DBG_DEBUG("smbd_check_access_rights_fsp on " + "file %s failed with %s\n", + fsp_str_dbg(fsp), + nt_errstr(status)); fd_close(fsp); return status; } -- 2.47.3