diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-13 10:58:10 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-13 10:58:10 +1000 |
commit | 1adfd368c48f8b9b70a33a7094cff8930bfdf72e (patch) | |
tree | f935e9726d11d7fcc579f8ecf68c09e0be522a28 /mux.c | |
parent | 61b0695273134a2eb168171d843132ed874e9971 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |