summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-07 10:27:40 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-07 10:27:40 +0000
commit372c359b211bee62189be3dc0c5830a097ab02f7 (patch)
treed77d481388cd2a5f95206f3d2335927f7beabb7d /source3
parent98af8adff1d98db0faf2fbb7c8f10eae10edcaf2 (diff)
downloadsamba-372c359b211bee62189be3dc0c5830a097ab02f7.tar.gz
samba-372c359b211bee62189be3dc0c5830a097ab02f7.tar.bz2
samba-372c359b211bee62189be3dc0c5830a097ab02f7.zip
fixed facl() bug for solaris
(This used to be commit ab5ed686f813c6294ca3eb9b800b3ad41a5a77c3)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbwrapper/wrapped.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c
index adf9156baf..129e9afe84 100644
--- a/source3/smbwrapper/wrapped.c
+++ b/source3/smbwrapper/wrapped.c
@@ -607,9 +607,9 @@
#endif
#ifndef NO_FACL_WRAPPER
- int facl(int fd, int cmd, int nentries, aclent_t *aclbufp)
+ int facl(int fd, int cmd, int nentries, void *aclbufp)
{
- if (smbw_path(pathp)) {
+ if (smbw_fd(fd)) {
return smbw_facl(fd, cmd, nentries, aclbufp);
}