diff options
author | Volker Lendecke <vl@samba.org> | 2009-07-25 13:10:55 -0400 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-07-25 13:12:06 -0400 |
commit | db5d3465ab8c7410e2b4ff7bbdbd108cea302c83 (patch) | |
tree | edeb5e370c628b8af79cc0f330cdfeba5d2a97b0 | |
parent | 9ca44867b0c71ac60aedc65a2dc3886629df563c (diff) | |
download | samba-db5d3465ab8c7410e2b4ff7bbdbd108cea302c83.tar.gz samba-db5d3465ab8c7410e2b4ff7bbdbd108cea302c83.tar.bz2 samba-db5d3465ab8c7410e2b4ff7bbdbd108cea302c83.zip |
Cleanup patch after "struct stat_ex"
-rw-r--r-- | source3/modules/vfs_solarisacl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_solarisacl.c b/source3/modules/vfs_solarisacl.c index 6a174807b6..397a674967 100644 --- a/source3/modules/vfs_solarisacl.c +++ b/source3/modules/vfs_solarisacl.c @@ -137,7 +137,7 @@ int solarisacl_sys_acl_set_file(vfs_handle_struct *handle, SMB_ACL_T theacl) { int ret = -1; - struct stat s; + struct stat_ex s; SOLARIS_ACL_T solaris_acl = NULL; int count; @@ -169,7 +169,7 @@ int solarisacl_sys_acl_set_file(vfs_handle_struct *handle, DEBUG(10, ("Error in stat call: %s\n", strerror(errno))); goto done; } - if (S_ISDIR(s.st_mode)) { + if (S_ISDIR(s.st_ex_mode)) { SOLARIS_ACL_T other_acl; int other_count; SMB_ACL_TYPE_T other_type; |