From: Jeremy Allison Date: Mon, 7 Jun 2021 23:27:22 +0000 (-0700) Subject: s3: smbd: open_directory(). Cleanup debug message to refer to correct function. X-Git-Tag: tevent-0.11.0~545 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=845aaadccdb2dd7ab670da16b25b73593db8ebd5;p=thirdparty%2Fsamba.git s3: smbd: open_directory(). Cleanup debug message to refer to correct function. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- 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; }