]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: open_file(). Cleanup debug message to refer to correct function.
authorJeremy Allison <jra@samba.org>
Mon, 7 Jun 2021 23:24:42 +0000 (16:24 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 9 Jun 2021 13:14:30 +0000 (13:14 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/open.c

index 985eabd9ffd15c541dad88a71aae62de093e981e..d08bdb0ef4dcf2c7fd3f4fbfc272c09e2887d2f9 100644 (file)
@@ -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) &&