summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_to_text.c
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2002-02-21 23:17:19 +0000
committerjedgar <jedgar@FreeBSD.org>2002-02-21 23:17:19 +0000
commitd958ae799ceb2a35694212712ea44eb5ee94e847 (patch)
tree7e543f2025311de625138ca8efe7353755a977af /lib/libc/posix1e/acl_to_text.c
parent6452c2e85d04e3efcaffbbd49b4c693d65e8c0ef (diff)
downloadFreeBSD-src-d958ae799ceb2a35694212712ea44eb5ee94e847.zip
FreeBSD-src-d958ae799ceb2a35694212712ea44eb5ee94e847.tar.gz
o style(9) and consistency fixes:
- if (!var) -> if (var == NULL) - return val; -> return (val); Reviewed by: rwatson Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libc/posix1e/acl_to_text.c')
-rw-r--r--lib/libc/posix1e/acl_to_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_to_text.c b/lib/libc/posix1e/acl_to_text.c
index b5e7b92..50b294b 100644
--- a/lib/libc/posix1e/acl_to_text.c
+++ b/lib/libc/posix1e/acl_to_text.c
@@ -63,7 +63,7 @@ acl_to_text(acl_t acl, ssize_t *len_p)
acl_perm_t ae_perm, effective_perm, mask_perm;
buf = strdup("");
- if (!buf)
+ if (buf == NULL)
return(NULL);
if (acl == NULL) {
OpenPOWER on IntegriCloud