diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-18 00:44:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-18 00:44:51 +0000 |
commit | 05868b8fda5ecc9f672f8b83e22abfad54b276ba (patch) | |
tree | 179840289739a86bb1b80b6050d8538514a3fc94 /bin | |
parent | c45abbab1ec69d239eebd602c5c249736c31ea4c (diff) |
unsigned uid; andrushock@korovino.net
Diffstat (limited to 'bin')
-rw-r--r-- | bin/rcp/rcp.c | 4 |
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 */ |