summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-07-30 17:30:07 +0000
committeryar <yar@FreeBSD.org>2004-07-30 17:30:07 +0000
commit4cacae89d93fa82b1a99eb4410437e09205cde41 (patch)
tree121faeccc7fb95e6ce0fe5e52dfee81535c9e5ff /libexec
parentdc8c8c95c0ae022cf290aef5899d00ce8e083dcd (diff)
downloadFreeBSD-src-4cacae89d93fa82b1a99eb4410437e09205cde41.zip
FreeBSD-src-4cacae89d93fa82b1a99eb4410437e09205cde41.tar.gz
Ditto for (gid_t).
Diffstat (limited to 'libexec')
-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