diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-07-19 12:07:45 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-07-19 12:07:45 +0200 |
commit | 03a29baf35e1a26aaa0eba37f53c97010d5f56af (patch) | |
tree | 0e92970602a6e0387877fb2d3e81142257bb9f3c /scp.c | |
parent | - markus@cvs.openbsd.org 2003/07/16 10:36:28 (diff) | |
download | openssh-03a29baf35e1a26aaa0eba37f53c97010d5f56af.tar.xz openssh-03a29baf35e1a26aaa0eba37f53c97010d5f56af.zip |
- deraadt@cvs.openbsd.org 2003/07/18 01:54:25
[scp.c]
userid is unsigned, but well, force it anyways; andrushock@korovino.net
Diffstat (limited to '')
-rw-r--r-- | scp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |