summaryrefslogtreecommitdiff
path: root/source3/smbd/unix_acls.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/unix_acls.c')
-rw-r--r--source3/smbd/unix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/unix_acls.c b/source3/smbd/unix_acls.c
index 40bb281c74..7a2dc6ab6e 100644
--- a/source3/smbd/unix_acls.c
+++ b/source3/smbd/unix_acls.c
@@ -423,7 +423,7 @@ size_t get_nt_acl(files_struct *fsp, SEC_DESC **ppdesc)
}
if(num_acls)
- if((psa = make_sec_acl( 3, num_acls, ace_list)) == NULL) {
+ if((psa = make_sec_acl( ACL_REVISION, num_acls, ace_list)) == NULL) {
DEBUG(0,("get_nt_acl: Unable to malloc space for acl.\n"));
return 0;
}