From: Jeremy Allison Date: Mon, 7 Jun 2021 23:25:54 +0000 (-0700) Subject: s3: smbd: open_file(). Cleanup debug message to refer to correct function. X-Git-Tag: tevent-0.11.0~546 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bed09bc2d66b9a6f1f4b28f37ad7b5c200939b35;p=thirdparty%2Fsamba.git s3: smbd: open_file(). 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 d08bdb0ef4d..a058e390662 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1599,11 +1599,10 @@ static NTSTATUS open_file(files_struct *fsp, } if (!NT_STATUS_IS_OK(status)) { - DEBUG(10,("open_file: " - "smbd_check_access_rights on file " + DBG_DEBUG("smbd_check_access_rights_fsp on file " "%s returned %s\n", - smb_fname_str_dbg(smb_fname), - nt_errstr(status) )); + fsp_str_dbg(fsp), + nt_errstr(status)); return status; } }