diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-18 01:54:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-18 01:54:26 +0000 |
commit | dceb612346dde755a424932844f76893db4f89a1 (patch) | |
tree | 509db68412ab22ee03aa0f66833a8b24244fee4c /usr.bin/ssh/scp.c | |
parent | 05868b8fda5ecc9f672f8b83e22abfad54b276ba (diff) |
userid is unsigned, but well, force it anyways; andrushock@korovino.net
Diffstat (limited to 'usr.bin/ssh/scp.c')
-rw-r--r-- | usr.bin/ssh/scp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c index 7e8fd6d84cf..7ceeea8f771 100644 --- a/usr.bin/ssh/scp.c +++ b/usr.bin/ssh/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" @@ -289,7 +289,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; |