summaryrefslogtreecommitdiff
path: root/source3/smbd/posix_acls.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-12 17:56:43 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-15 03:28:13 +0200
commit5d2af68a25534bd84601f3ac40853ef9fcb21edb (patch)
treefcdecd5b7e3b3ecfee835236e53337b5c7ee34d9 /source3/smbd/posix_acls.c
parent63bfc70a2ad391c7d0f0ce8d7c637ca2b5ba5645 (diff)
downloadsamba-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/posix_acls.c')
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index e2571ff248..9753bfeb61 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -4878,7 +4878,7 @@ struct security_descriptor *get_nt_acl_no_snum( TALLOC_CTX *ctx, const char *fna
ZERO_STRUCT( finfo );
ZERO_STRUCT( fh );
- finfo.fnum = -1;
+ finfo.fnum = FNUM_FIELD_INVALID;
finfo.conn = conn;
finfo.fh = &fh;
finfo.fh->fd = -1;