]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: open_directory(). Cleanup debug message to refer to correct function.
authorJeremy Allison <jra@samba.org>
Mon, 7 Jun 2021 23:27:22 +0000 (16:27 -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 a058e390662a09cc08038287b9ba7b8fc68abec4..1d911902c135d027408969a19716e080c96f4c25 100644 (file)
@@ -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;
                }