summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/pwd_grp/initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/pwd_grp/initgroups.c b/libc/pwd_grp/initgroups.c
index 84ead9c55..9c1fbc03c 100644
--- a/libc/pwd_grp/initgroups.c
+++ b/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) {