summaryrefslogtreecommitdiff
path: root/libpwdgrp/initgroups.c
diff options
context:
space:
mode:
authorEric Andersen2002-09-16 06:32:16 +0000
committerEric Andersen2002-09-16 06:32:16 +0000
commite18cb71e0c680a165243b26b872e0ccdfd9a37f1 (patch)
treebb5ff3c7e7fc861acbdeb184411ed032993060af /libpwdgrp/initgroups.c
parentc38678d14b87f8e2d4f0d610d0aa61c656f17539 (diff)
downloadbusybox-e18cb71e0c680a165243b26b872e0ccdfd9a37f1.zip
busybox-e18cb71e0c680a165243b26b872e0ccdfd9a37f1.tar.gz
Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>
Diffstat (limited to 'libpwdgrp/initgroups.c')
-rw-r--r--libpwdgrp/initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c
index 22ba6eb..f86b5a8 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) {