From ab5ed686f813c6294ca3eb9b800b3ad41a5a77c3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 7 Oct 1998 10:27:40 +0000 Subject: [PATCH] fixed facl() bug for solaris --- source/smbwrapper/wrapped.c | 4 ++-- 1 file 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); }