summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_ioctl.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-14 13:20:08 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-15 03:28:15 +0200
commit7738b574c2f0bd15aca2133abd7aeeb73d6356c3 (patch)
tree22c62aaec7a1a2368fd0245d4141b12973204b04 /source3/smbd/smb2_ioctl.c
parentcf380e168deefbed83aa1f72fabb6d23cb710981 (diff)
downloadsamba-7738b574c2f0bd15aca2133abd7aeeb73d6356c3.tar.gz
s3:smbd: change smb2_ioctl.c to use fsp_fnum_dbg() for fsp->fnum logging.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/smb2_ioctl.c')
-rw-r--r--source3/smbd/smb2_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/smb2_ioctl.c b/source3/smbd/smb2_ioctl.c
index db1ef0883e4..36b44e62dc3 100644
--- a/source3/smbd/smb2_ioctl.c
+++ b/source3/smbd/smb2_ioctl.c
@@ -369,10 +369,10 @@ static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx,
state->in_max_output = in_max_output;
state->out_output = data_blob_null;
- DEBUG(10, ("smbd_smb2_ioctl: ctl_code[0x%08x] %s fnum[%d]\n",
+ DEBUG(10, ("smbd_smb2_ioctl: ctl_code[0x%08x] %s, %s\n",
(unsigned)in_ctl_code,
fsp ? fsp_str_dbg(fsp) : "<no handle>",
- fsp ? fsp->fnum : FNUM_FIELD_INVALID));
+ fsp_fnum_dbg(fsp)));
smbreq = smbd_smb2_fake_smb_request(smb2req);
if (tevent_req_nomem(smbreq, req)) {