summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-09 03:10:27 +0000
committerJeremy Allison <jra@samba.org>2001-06-09 03:10:27 +0000
commitda9963e66bd0e262f40ece33a137ba3bc64a1a24 (patch)
treee4151df424eb33dfe79df3f6dccb6c9f9d46782d /source3/lib
parentf63ee18c684af33342de2c5757f9fdf0b7d84997 (diff)
downloadsamba-da9963e66bd0e262f40ece33a137ba3bc64a1a24.tar.gz
samba-da9963e66bd0e262f40ece33a137ba3bc64a1a24.tar.bz2
samba-da9963e66bd0e262f40ece33a137ba3bc64a1a24.zip
Fixed typo in Solaris and UnixWare ACLs.
Jeremy. (This used to be commit bd750def132d9a787728dc35c68df9166a15fbd7)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sysacls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index ecf62f6e0e..ccae211942 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -781,7 +781,7 @@ int sys_acl_set_file(const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d)
int sys_acl_set_fd(int fd, SMB_ACL_T acl_d)
{
- if (acl_sort(acl_d) {
+ if (acl_sort(acl_d) != 0) {
return -1;
}