diff options
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,7 +71,7 @@ | |||
71 | */ | 71 | */ |
72 | 72 | ||
73 | #include "includes.h" | 73 | #include "includes.h" |
74 | RCSID("$OpenBSD: scp.c,v 1.107 2003/06/28 16:23:06 deraadt Exp $"); | 74 | RCSID("$OpenBSD: scp.c,v 1.108 2003/07/18 01:54:25 deraadt Exp $"); |
75 | 75 | ||
76 | #include "xmalloc.h" | 76 | #include "xmalloc.h" |
77 | #include "atomicio.h" | 77 | #include "atomicio.h" |
@@ -298,7 +298,7 @@ main(int argc, char **argv) | |||
298 | argv += optind; | 298 | argv += optind; |
299 | 299 | ||
300 | if ((pwd = getpwuid(userid = getuid())) == NULL) | 300 | if ((pwd = getpwuid(userid = getuid())) == NULL) |
301 | fatal("unknown user %d", (int) userid); | 301 | fatal("unknown user %u", (u_int) userid); |
302 | 302 | ||
303 | if (!isatty(STDERR_FILENO)) | 303 | if (!isatty(STDERR_FILENO)) |
304 | showprogress = 0; | 304 | showprogress = 0; |