From 03a29baf35e1a26aaa0eba37f53c97010d5f56af Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 19 Jul 2003 20:07:45 +1000 Subject: - deraadt@cvs.openbsd.org 2003/07/18 01:54:25 [scp.c] userid is unsigned, but well, force it anyways; andrushock@korovino.net --- scp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scp.c') diff --git a/scp.c b/scp.c index 81690609d..cf979f250 100644 --- a/scp.c +++ b/scp.c @@ -71,7 +71,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: scp.c,v 1.107 2003/06/28 16:23:06 deraadt Exp $"); +RCSID("$OpenBSD: scp.c,v 1.108 2003/07/18 01:54:25 deraadt Exp $"); #include "xmalloc.h" #include "atomicio.h" @@ -298,7 +298,7 @@ main(int argc, char **argv) argv += optind; if ((pwd = getpwuid(userid = getuid())) == NULL) - fatal("unknown user %d", (int) userid); + fatal("unknown user %u", (u_int) userid); if (!isatty(STDERR_FILENO)) showprogress = 0; -- cgit v1.2.3