fixed facl() bug for solaris
authorAndrew Tridgell <tridge@samba.org>
Wed, 7 Oct 1998 10:27:40 +0000 (10:27 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 7 Oct 1998 10:27:40 +0000 (10:27 +0000)
source/smbwrapper/wrapped.c

index adf9156baf5153705c341f9aefe58c9f8883bf76..129e9afe8423cde9fd1069f59ba031a4f1720926 100644 (file)
 #endif
 
 #ifndef NO_FACL_WRAPPER
 #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);
        }
 
                return smbw_facl(fd, cmd, nentries, aclbufp);
        }