summaryrefslogtreecommitdiff
path: root/mux.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-13 10:58:10 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-13 10:58:10 +1000
commit1adfd368c48f8b9b70a33a7094cff8930bfdf72e (patch)
treef935e9726d11d7fcc579f8ecf68c09e0be522a28 /mux.c
parent61b0695273134a2eb168171d843132ed874e9971 (diff)
- dtucker@cvs.openbsd.org 2008/06/13 00:47:53
[mux.c] upcast size_t to u_long to match format arg; ok djm@
Diffstat (limited to 'mux.c')
-rw-r--r--mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mux.c b/mux.c
index aaa3a4ee2..ce3015c3f 100644
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mux.c,v 1.5 2008/06/13 00:16:49 djm Exp $ */ 1/* $OpenBSD: mux.c,v 1.6 2008/06/13 00:47:53 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -711,7 +711,7 @@ muxclient(const char *path)
711 leave_raw_mode(); 711 leave_raw_mode();
712 if (i > (int)sizeof(int)) 712 if (i > (int)sizeof(int))
713 fatal("%s: master returned too much data (%d > %lu)", 713 fatal("%s: master returned too much data (%d > %lu)",
714 __func__, i, sizeof(int)); 714 __func__, i, (u_long)sizeof(int));
715 if (muxclient_terminate) { 715 if (muxclient_terminate) {
716 debug2("Exiting on signal %d", muxclient_terminate); 716 debug2("Exiting on signal %d", muxclient_terminate);
717 exitval[0] = 255; 717 exitval[0] = 255;