]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/volume.c
Fix for filesystem without NFSv4 ACL support on Solaris, Bug ID #3428389
[netatalk.git] / etc / afpd / volume.c
index dd580cb80747bd4bfffff97829fd1b5e7817aa4c..9b9672ab3c9887076d9068b40028bd2cb588ca90 100644 (file)
@@ -1939,7 +1939,7 @@ int afp_getsrvrparms(AFPObj *obj, char *ibuf _U_, size_t ibuflen _U_, char *rbuf
             if (!S_ISDIR(st.st_mode)) {
                 continue;       /* not a dir */
             }
-            accessmode(volume->v_path, &ma, NULL, &st);
+            accessmode(volume, volume->v_path, &ma, NULL, &st);
             if ((ma.ma_user & (AR_UREAD | AR_USEARCH)) != (AR_UREAD | AR_USEARCH)) {
                 continue;   /* no r-x access */
             }