diff options
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r-- | monitor_wrap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c index 8b0ded190..53bf59b5b 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c | |||
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: monitor_wrap.c,v 1.4 2002/03/19 14:27:39 markus Exp $"); | 28 | RCSID("$OpenBSD: monitor_wrap.c,v 1.5 2002/03/25 20:12:10 stevesk Exp $"); |
29 | 29 | ||
30 | #include <openssl/bn.h> | 30 | #include <openssl/bn.h> |
31 | #include <openssl/dh.h> | 31 | #include <openssl/dh.h> |
@@ -88,7 +88,7 @@ mm_request_receive(int socket, Buffer *m) | |||
88 | if (res != sizeof(buf)) { | 88 | if (res != sizeof(buf)) { |
89 | if (res == 0) | 89 | if (res == 0) |
90 | fatal_cleanup(); | 90 | fatal_cleanup(); |
91 | fatal("%s: read: %d", __FUNCTION__, res); | 91 | fatal("%s: read: %ld", __FUNCTION__, (long)res); |
92 | } | 92 | } |
93 | msg_len = GET_32BIT(buf); | 93 | msg_len = GET_32BIT(buf); |
94 | if (msg_len > 256 * 1024) | 94 | if (msg_len > 256 * 1024) |
@@ -97,7 +97,7 @@ mm_request_receive(int socket, Buffer *m) | |||
97 | buffer_append_space(m, msg_len); | 97 | buffer_append_space(m, msg_len); |
98 | res = atomicio(read, socket, buffer_ptr(m), msg_len); | 98 | res = atomicio(read, socket, buffer_ptr(m), msg_len); |
99 | if (res != msg_len) | 99 | if (res != msg_len) |
100 | fatal("%s: read: %d != msg_len", __FUNCTION__, res); | 100 | fatal("%s: read: %ld != msg_len", __FUNCTION__, (long)res); |
101 | } | 101 | } |
102 | 102 | ||
103 | void | 103 | void |