summaryrefslogtreecommitdiff
path: root/lib/libposix1e/acl_to_text.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_to_text.c
parent324fffaed1781a2edbb7953c56966badafa0492c (diff)
Notes
Diffstat (limited to 'lib/libposix1e/acl_to_text.c')
-rw-r--r--lib/libposix1e/acl_to_text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libposix1e/acl_to_text.c b/lib/libposix1e/acl_to_text.c
index bb5a546fd073..d5a1e32bc847 100644
--- a/lib/libposix1e/acl_to_text.c
+++ b/lib/libposix1e/acl_to_text.c
@@ -61,7 +61,7 @@ acl_to_text(acl_t acl, ssize_t *len_p)
buf = strdup("");
if (!buf)
- return(0);
+ return(NULL);
mask_perm = ACL_PERM_BITS; /* effective is regular if no mask */
for (i = 0; i < acl->acl_cnt; i++)
@@ -218,5 +218,5 @@ acl_to_text(acl_t acl, ssize_t *len_p)
error_label:
/* jump to here sets errno already, we just clean up */
if (buf) free(buf);
- return (0);
+ return (NULL);
}