diff options
Diffstat (limited to 'lib/libposix1e/acl_from_text.c')
| -rw-r--r-- | lib/libposix1e/acl_from_text.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libposix1e/acl_from_text.c b/lib/libposix1e/acl_from_text.c index d4d9986d7808..e35d15087116 100644 --- a/lib/libposix1e/acl_from_text.c +++ b/lib/libposix1e/acl_from_text.c @@ -118,12 +118,12 @@ acl_from_text(const char *buf_p) /* Local copy we can mess up. */ mybuf_p = strdup(buf_p); if (!mybuf_p) - return(0); + return(NULL); acl = acl_init(3); if (!acl) { free(mybuf_p); - return(0); + return(NULL); } /* Outer loop: delimit at \n boundaries. */ @@ -223,7 +223,7 @@ acl_from_text(const char *buf_p) error_label: acl_free(acl); free(mybuf_p); - return(0); + return(NULL); } |
