From 73f6f1368316c6c85c8a506f8db5bc26ba8446dc Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 28 Aug 2000 03:50:55 +0000 Subject: print uid/gid as unsigned --- usr.bin/ssh/session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/session.c') diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index 1d821c3b8a3..2c9a50fa741 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/session.c @@ -8,7 +8,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: session.c,v 1.30 2000/08/25 16:10:05 deraadt Exp $"); +RCSID("$OpenBSD: session.c,v 1.31 2000/08/28 03:50:54 deraadt Exp $"); #include "xmalloc.h" #include "ssh.h" @@ -811,7 +811,7 @@ do_child(const char *command, struct passwd * pw, const char *term, #endif } if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) - fatal("Failed to set uids to %d.", (int) pw->pw_uid); + fatal("Failed to set uids to %u.", (u_int) pw->pw_uid); } /* * Get the shell from the password data. An empty shell field is -- cgit v1.2.3