From da6874a62e91b80e39cfd8f20a5b9d36ec28db0b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 16 Sep 2002 06:32:16 +0000 Subject: Fix stupid typo noticed by John Mullin --- libc/pwd_grp/initgroups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/pwd_grp/initgroups.c') 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) { -- cgit v1.2.3