summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper/wrapped.c
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
commitab5ed686f813c6294ca3eb9b800b3ad41a5a77c3 (patch)
treeeb9166295804107aa767d84805f8c96296937b82 /source/smbwrapper/wrapped.c
parent15aa1b52cd78e9b59fa44b248267b9698a5b0d5c (diff)
downloadsamba-ab5ed686f813c6294ca3eb9b800b3ad41a5a77c3.tar.gz
samba-ab5ed686f813c6294ca3eb9b800b3ad41a5a77c3.tar.xz
samba-ab5ed686f813c6294ca3eb9b800b3ad41a5a77c3.zip
fixed facl() bug for solaris
Diffstat (limited to 'source/smbwrapper/wrapped.c')
-rw-r--r--source/smbwrapper/wrapped.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbwrapper/wrapped.c b/source/smbwrapper/wrapped.c
index adf9156baf5..129e9afe842 100644
--- a/source/smbwrapper/wrapped.c
+++ b/source/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);
}