summaryrefslogtreecommitdiff
path: root/bin/rcp/rcp.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-18 00:44:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-18 00:44:51 +0000
commit05868b8fda5ecc9f672f8b83e22abfad54b276ba (patch)
tree179840289739a86bb1b80b6050d8538514a3fc94 /bin/rcp/rcp.c
parentc45abbab1ec69d239eebd602c5c249736c31ea4c (diff)
unsigned uid; andrushock@korovino.net
Diffstat (limited to 'bin/rcp/rcp.c')
-rw-r--r--bin/rcp/rcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c
index 241b2f27a60..50ab448b4d8 100644
--- a/bin/rcp/rcp.c
+++ b/bin/rcp/rcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcp.c,v 1.35 2003/06/02 23:32:09 millert Exp $ */
+/* $OpenBSD: rcp.c,v 1.36 2003/07/18 00:44:50 deraadt Exp $ */
/* $NetBSD: rcp.c,v 1.9 1995/03/21 08:19:06 cgd Exp $ */
/*
@@ -176,7 +176,7 @@ main(int argc, char *argv[])
port = sp->s_port;
if ((pwd = getpwuid(userid = getuid())) == NULL)
- errx(1, "unknown user %d", (int)userid);
+ errx(1, "unknown user %u", userid);
unsetenv("RSH"); /* Force the use of /usr/bin/rsh */