From 5d2af68a25534bd84601f3ac40853ef9fcb21edb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 12 Jun 2012 17:56:43 +0200 Subject: 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 --- source3/smbd/posix_acls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/posix_acls.c') 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; -- cgit