summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 72456ae..5716e01 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1401,7 +1401,7 @@ skip:
}
}
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;
}
OpenPOWER on IntegriCloud