summaryrefslogtreecommitdiffstats
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-26 13:34:36 +0200
committerDamien Miller <djm@mindrot.org>2003-05-26 13:34:36 +0200
commit9155a681fdbae4c5a90959f0444275a1396b19cf (patch)
tree53d204cddc29b4d80d0e89cf1550d7465bdfde20 /sshd.c
parentremove #include we don't need (diff)
downloadopenssh-9155a681fdbae4c5a90959f0444275a1396b19cf.tar.xz
openssh-9155a681fdbae4c5a90959f0444275a1396b19cf.zip
- djm@cvs.openbsd.org 2003/05/24 09:30:40
[authfile.c monitor.c sftp-common.c sshpty.c] cast some types for printing; ok markus@ (missed a hunk)
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index 65837c938..3f1e9ff64 100644
--- a/sshd.c
+++ b/sshd.c
@@ -565,7 +565,7 @@ privsep_preauth_child(void)
#else
gidset[0] = pw->pw_gid;
if (setgid(pw->pw_gid) < 0)
- fatal("setgid failed for %u", pw->pw_gid );
+ fatal("setgid failed for %u", (u_int)pw->pw_gid );
if (setgroups(1, gidset) < 0)
fatal("setgroups: %.100s", strerror(errno));
permanently_set_uid(pw);