summaryrefslogtreecommitdiff
path: root/lib/libposix1e/acl_get.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2001-01-17 02:40:39 +0000
committerRobert Watson <rwatson@FreeBSD.org>2001-01-17 02:40:39 +0000
commitf0078215b74a9b67c1657703370fe371cdda0b02 (patch)
tree4d25f9658a18a8b772c32ecd390a36dba1b0a30d /lib/libposix1e/acl_get.c
parent324fffaed1781a2edbb7953c56966badafa0492c (diff)
Notes
Diffstat (limited to 'lib/libposix1e/acl_get.c')
-rw-r--r--lib/libposix1e/acl_get.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libposix1e/acl_get.c b/lib/libposix1e/acl_get.c
index 494eed7723ab..46882d62032f 100644
--- a/lib/libposix1e/acl_get.c
+++ b/lib/libposix1e/acl_get.c
@@ -44,13 +44,13 @@ acl_get_file(const char *path_p, acl_type_t type)
aclp = acl_init(ACL_MAX_ENTRIES);
if (!aclp) {
- return (0);
+ return (NULL);
}
error = __acl_get_file(path_p, type, aclp);
if (error) {
acl_free(aclp);
- return (0);
+ return (NULL);
}
return (aclp);
@@ -64,13 +64,13 @@ acl_get_fd(int fd)
aclp = acl_init(ACL_MAX_ENTRIES);
if (!aclp) {
- return (0);
+ return (NULL);
}
error = __acl_get_fd(fd, ACL_TYPE_ACCESS, aclp);
if (error) {
acl_free(aclp);
- return (0);
+ return (NULL);
}
return (aclp);
@@ -84,13 +84,13 @@ acl_get_fd_np(int fd, acl_type_t type)
aclp = acl_init(ACL_MAX_ENTRIES);
if (!aclp) {
- return (0);
+ return (NULL);
}
error = __acl_get_fd(fd, type, aclp);
if (error) {
acl_free(aclp);
- return (0);
+ return (NULL);
}
return (aclp);