Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>
authorEric Andersen <andersen@codepoet.org>
Mon, 16 Sep 2002 06:32:16 +0000 (06:32 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 16 Sep 2002 06:32:16 +0000 (06:32 -0000)
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) {