s3 onefs: Fix onefs ACLs to work with updated ACL syscall
authorTim Prouty <tprouty@samba.org>
Fri, 30 Jan 2009 23:19:55 +0000 (15:19 -0800)
committerTim Prouty <tprouty@samba.org>
Fri, 30 Jan 2009 23:44:07 +0000 (15:44 -0800)
source3/modules/onefs_acl.c

index b9ec2d68e0c4f3a9976bdb899030c7f64802417b..14b27b80e0044eb55e8225c37e076115e93c3df6 100644 (file)
@@ -667,7 +667,7 @@ onefs_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
                }
 
                 error = ifs_get_security_descriptor(fsp->fh->fd, security_info,
-                   &sd_size, sd);
+                   sd_size, &sd_size, sd);
                 if (error && (errno != EMSGSIZE)) {
                        DEBUG(0, ("Failed getting size of security descriptor! "
                            "errno=%d\n", errno));