diff options
author | Michael Adam <obnox@samba.org> | 2012-06-12 17:56:43 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-15 03:28:13 +0200 |
commit | 5d2af68a25534bd84601f3ac40853ef9fcb21edb (patch) | |
tree | fcdecd5b7e3b3ecfee835236e53337b5c7ee34d9 /source3/smbd/smb2_ioctl.c | |
parent | 63bfc70a2ad391c7d0f0ce8d7c637ca2b5ba5645 (diff) | |
download | samba-5d2af68a25534bd84601f3ac40853ef9fcb21edb.tar.gz samba-5d2af68a25534bd84601f3ac40853ef9fcb21edb.tar.bz2 samba-5d2af68a25534bd84601f3ac40853ef9fcb21edb.zip |
s3:smbd: use FNUM_FIELD_INVALID instead of literal -1
This is in preparation of changing fnum to uint64_t
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/smb2_ioctl.c')
-rw-r--r-- | source3/smbd/smb2_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_ioctl.c b/source3/smbd/smb2_ioctl.c index 7710a9ebb2..db1ef0883e 100644 --- a/source3/smbd/smb2_ioctl.c +++ b/source3/smbd/smb2_ioctl.c @@ -372,7 +372,7 @@ static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx, DEBUG(10, ("smbd_smb2_ioctl: ctl_code[0x%08x] %s fnum[%d]\n", (unsigned)in_ctl_code, fsp ? fsp_str_dbg(fsp) : "<no handle>", - fsp ? fsp->fnum : -1)); + fsp ? fsp->fnum : FNUM_FIELD_INVALID)); smbreq = smbd_smb2_fake_smb_request(smb2req); if (tevent_req_nomem(smbreq, req)) { |