mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:smbd: change smb2_setinfo.c to use fsp_fnum_dbg() for fsp->fnum logging.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
1e0eb24270
commit
bde02985e6
@ -182,8 +182,8 @@ static struct tevent_req *smbd_smb2_setinfo_send(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
state->smb2req = smb2req;
|
||||
|
||||
DEBUG(10,("smbd_smb2_setinfo_send: %s - fnum[%d]\n",
|
||||
fsp_str_dbg(fsp), fsp->fnum));
|
||||
DEBUG(10,("smbd_smb2_setinfo_send: %s - %s\n",
|
||||
fsp_str_dbg(fsp), fsp_fnum_dbg(fsp)));
|
||||
|
||||
smbreq = smbd_smb2_fake_smb_request(smb2req);
|
||||
if (tevent_req_nomem(smbreq, req)) {
|
||||
@ -265,7 +265,8 @@ static struct tevent_req *smbd_smb2_setinfo_send(TALLOC_CTX *mem_ctx,
|
||||
|
||||
if (SMB_VFS_FSTAT(fsp, &fsp->fsp_name->st) != 0) {
|
||||
DEBUG(3,("smbd_smb2_setinfo_send: fstat "
|
||||
"of fnum %d failed (%s)\n", fsp->fnum,
|
||||
"of %s failed (%s)\n",
|
||||
fsp_fnum_dbg(fsp),
|
||||
strerror(errno)));
|
||||
status = map_nt_error_from_unix(errno);
|
||||
tevent_req_nterror(req, status);
|
||||
|
Loading…
Reference in New Issue
Block a user