From: Jeremy Allison Date: Mon, 7 Jun 2021 23:24:42 +0000 (-0700) Subject: s3: smbd: open_file(). Cleanup debug message to refer to correct function. X-Git-Tag: tevent-0.11.0~547 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8d43466e1f202da90139dba492980eaf1af11c8;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 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) &&