summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}