summaryrefslogtreecommitdiff
path: root/lib/libc/posix1e/acl_get.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2000-01-19 06:13:59 +0000
committerRobert Watson <rwatson@FreeBSD.org>2000-01-19 06:13:59 +0000
commitd33523160658b54127ac63bcaefa6080d8dbe373 (patch)
treeaa447e672c01c474f7e32cb62eb3e72f91171a52 /lib/libc/posix1e/acl_get.c
parentc50a9e8f2d5f768bd49f3cb3a0ee98a3aa4ea3e6 (diff)
Notes
Diffstat (limited to 'lib/libc/posix1e/acl_get.c')
-rw-r--r--lib/libc/posix1e/acl_get.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/posix1e/acl_get.c b/lib/libc/posix1e/acl_get.c
index 3871229d2eca..1293f0b73907 100644
--- a/lib/libc/posix1e/acl_get.c
+++ b/lib/libc/posix1e/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);