1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

o style(9) and consistency fix:

- if (!var) -> if (var == NULL)
o spelling fix (althouh -> although)

Reviewed by:	rwatson
Obtained from:	TrustedBSD Project
This commit is contained in:
Chris D. Faulhaber 2002-02-21 23:18:04 +00:00
parent 9fd46b0237
commit a82f127b41
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91035

View File

@ -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);