summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-09-16 06:32:16 +0000
committerEric Andersen <andersen@codepoet.org>2002-09-16 06:32:16 +0000
commitda6874a62e91b80e39cfd8f20a5b9d36ec28db0b (patch)
tree848dba038f0815a0c58d41fee88912a3c166f818
parentdb7e48ff676fc49cba100f903537981e43b4a326 (diff)
Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>
-rw-r--r--libc/pwd_grp/initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/pwd_grp/initgroups.c b/libc/pwd_grp/initgroups.c
index 84ead9c55..9c1fbc03c 100644
--- a/libc/pwd_grp/initgroups.c
+++ b/libc/pwd_grp/initgroups.c
@@ -57,7 +57,7 @@ int initgroups(__const char *user, gid_t gid)
LOCK;
while ((group = __getgrent(grp_fd, line_buff, members)) != NULL)
{
- if (group->gr_gid != gid);
+ if (group->gr_gid != gid)
{
tmp_mem = group->gr_mem;
while (*tmp_mem != NULL) {