summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2008-06-13 00:47:54 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2008-06-13 00:47:54 +0000
commit31ecc38c16664192df6a04f7e3f1fb94b2065fa0 (patch)
tree7a7925337ceba9932557c6578cd844f550efd910 /usr.bin/ssh
parentc2a30ac94fe9ef480e673a92a91b4c345d954dcc (diff)
upcast size_t to u_long to match format arg; ok djm@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/mux.c b/usr.bin/ssh/mux.c
index da85051e2c7..38b6c6c2035 100644
--- a/usr.bin/ssh/mux.c
+++ b/usr.bin/ssh/mux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mux.c,v 1.5 2008/06/13 00:16:49 djm Exp $ */
+/* $OpenBSD: mux.c,v 1.6 2008/06/13 00:47:53 dtucker Exp $ */
/*
* Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
*
@@ -699,7 +699,7 @@ muxclient(const char *path)
leave_raw_mode();
if (i > (int)sizeof(int))
fatal("%s: master returned too much data (%d > %lu)",
- __func__, i, sizeof(int));
+ __func__, i, (u_long)sizeof(int));
if (muxclient_terminate) {
debug2("Exiting on signal %d", muxclient_terminate);
exitval[0] = 255;