Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 16 Sep 2002 06:32:16 +0000 (06:32 +0000)
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 16 Sep 2002 06:32:16 +0000 (06:32 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@5499 69ca8d6d-28ef-0310-b511-8ec308f3f277

libpwdgrp/initgroups.c

index 22ba6eb..f86b5a8 100644 (file)
@@ -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) {