From e18cb71e0c680a165243b26b872e0ccdfd9a37f1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 16 Sep 2002 06:32:16 +0000 Subject: [PATCH] Fix stupid typo noticed by John Mullin --- libpwdgrp/initgroups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c index 22ba6eb1e..f86b5a8f4 100644 --- a/libpwdgrp/initgroups.c +++ b/libpwdgrp/initgroups.c @@ -94,7 +94,7 @@ int initgroups(__const char *user, gid_t gid) while ((group = __getgrent(grp_fd)) != NULL) #endif { - if (group->gr_gid != gid); + if (group->gr_gid != gid) { tmp_mem = group->gr_mem; while (*tmp_mem != NULL) {