diff options
author | jedgar <jedgar@FreeBSD.org> | 2002-02-21 23:18:04 +0000 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2002-02-21 23:18:04 +0000 |
commit | e9a25813c33043cc0109c6626be28de1bad757f5 (patch) | |
tree | 3698b51701f506348d17de02743ef47ea47436ef /lib/libc/posix1e | |
parent | d958ae799ceb2a35694212712ea44eb5ee94e847 (diff) | |
download | FreeBSD-src-e9a25813c33043cc0109c6626be28de1bad757f5.zip FreeBSD-src-e9a25813c33043cc0109c6626be28de1bad757f5.tar.gz |
o style(9) and consistency fix:
- if (!var) -> if (var == NULL)
o spelling fix (althouh -> although)
Reviewed by: rwatson
Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libc/posix1e')
-rw-r--r-- | lib/libc/posix1e/acl_support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/posix1e/acl_support.c b/lib/libc/posix1e/acl_support.c index 791b26b..e665d8e 100644 --- a/lib/libc/posix1e/acl_support.c +++ b/lib/libc/posix1e/acl_support.c @@ -90,7 +90,7 @@ _posix1e_acl_entry_compare(struct acl_entry *a, struct acl_entry *b) /* * _posix1e_acl_sort -- sort ACL entries in POSIX.1e-formatted ACLs - * Give the opportunity to fail, althouh we don't currently have a way + * Give the opportunity to fail, although we don't currently have a way * to fail. */ int @@ -268,7 +268,7 @@ _posix1e_acl_id_to_name(acl_tag_t tag, uid_t id, ssize_t buf_len, char *buf) case ACL_GROUP: g = getgrgid(id); - if (!g) + if (g == NULL) i = snprintf(buf, buf_len, "%d", id); else i = snprintf(buf, buf_len, "%s", g->gr_name); |