Ditto for (gid_t).

This commit is contained in:
yar 2004-07-30 17:30:07 +00:00
parent dc8c8c95c0
commit 4cacae89d9

View File

@ -1401,7 +1401,7 @@ pass(char *passwd)
}
}
login_attempts = 0; /* this time successful */
if (setegid((gid_t)pw->pw_gid) < 0) {
if (setegid(pw->pw_gid) < 0) {
reply(550, "Can't set gid.");
return;
}