浏览代码

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

Eric Andersen 23 年之前
父节点
当前提交
da6874a62e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {