]> 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:25:54 +0000 (16:25 -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 d08bdb0ef4dcf2c7fd3f4fbfc272c09e2887d2f9..a058e390662a09cc08038287b9ba7b8fc68abec4 100644 (file)
@@ -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;
                }
        }