Browse Source

Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>

Eric Andersen 22 years ago
parent
commit
da6874a62e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/pwd_grp/initgroups.c

+ 1 - 1
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) {