From b8d43466e1f202da90139dba492980eaf1af11c8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 7 Jun 2021 16:24:42 -0700 Subject: [PATCH] s3: smbd: open_file(). Cleanup debug message to refer to correct function. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/smbd/open.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 985eabd9ffd..d08bdb0ef4d 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1402,11 +1402,10 @@ static NTSTATUS open_file(files_struct *fsp, access_mask); if (!NT_STATUS_IS_OK(status)) { - DEBUG(10, ("open_file: " - "smbd_check_access_rights " - "on file %s returned %s\n", - smb_fname_str_dbg(smb_fname), - nt_errstr(status))); + DBG_DEBUG("smbd_check_access_rights_fsp" + " on file %s returned %s\n", + fsp_str_dbg(fsp), + nt_errstr(status)); } if (!NT_STATUS_IS_OK(status) && -- 2.47.3