diff options
Diffstat (limited to 'lib/libposix1e/acl_get.c')
-rw-r--r-- | lib/libposix1e/acl_get.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libposix1e/acl_get.c b/lib/libposix1e/acl_get.c index 3871229..1293f0b 100644 --- a/lib/libposix1e/acl_get.c +++ b/lib/libposix1e/acl_get.c @@ -40,12 +40,12 @@ acl_get_file(const char *path_p, acl_type_t type) struct acl *aclp; int error; - aclp = acl_init(MAX_ACL_ENTRIES); + aclp = acl_init(ACL_MAX_ENTRIES); if (!aclp) { return (0); } - error = acl_syscall_get_file(path_p, type, aclp); + error = __acl_get_file(path_p, type, aclp); if (error) { acl_free(aclp); return (0); @@ -61,12 +61,12 @@ acl_get_fd(int fd, acl_type_t type) struct acl *aclp; int error; - aclp = acl_init(MAX_ACL_ENTRIES); + aclp = acl_init(ACL_MAX_ENTRIES); if (!aclp) { return (0); } - error = acl_syscall_get_fd(fd, type, aclp); + error = __acl_get_fd(fd, type, aclp); if (error) { acl_free(aclp); return (0); |