- 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)
This commit is contained in:
Damien Miller 2003-05-26 21:34:36 +10:00
parent 0652348e92
commit 9155a681fd
1 changed files with 1 additions and 1 deletions

2
sshd.c
View File

@ -565,7 +565,7 @@ privsep_preauth_child(void)
#else #else
gidset[0] = pw->pw_gid; gidset[0] = pw->pw_gid;
if (setgid(pw->pw_gid) < 0) 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) if (setgroups(1, gidset) < 0)
fatal("setgroups: %.100s", strerror(errno)); fatal("setgroups: %.100s", strerror(errno));
permanently_set_uid(pw); permanently_set_uid(pw);