]> andersk Git - openssh.git/commitdiff
- deraadt@cvs.openbsd.org 2003/07/18 01:54:25
authordtucker <dtucker>
Sat, 19 Jul 2003 10:07:45 +0000 (10:07 +0000)
committerdtucker <dtucker>
Sat, 19 Jul 2003 10:07:45 +0000 (10:07 +0000)
     [scp.c]
     userid is unsigned, but well, force it anyways; andrushock@korovino.net

ChangeLog
scp.c

index b393234c148461e34b2437cba59a9381bce9b056..04ba9d1ab42622e8ed2e6fac14ee5008455f2ca4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,9 @@
    - markus@cvs.openbsd.org 2003/07/16 10:36:28
      [sshtty.c]
      clear IUCLC in enter_raw_mode; from rob@pitman.co.za; ok deraadt@, fgs@
+   - deraadt@cvs.openbsd.org 2003/07/18 01:54:25
+     [scp.c]
+     userid is unsigned, but well, force it anyways; andrushock@korovino.net
 
 20030714
  - (dtucker) [acconfig.h configure.ac port-aix.c] Older AIXes don't declare
diff --git a/scp.c b/scp.c
index 81690609dd2fd92e660ba0efe91dfaf55832532c..cf979f2501c7799aabc682f64f2422d50ffc602f 100644 (file)
--- 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;
This page took 0.175395 seconds and 5 git commands to generate.