summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-01 16:15:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-01 16:15:26 +0000
commit8ceb71e9bc305ae7318d4d95670e141000a4054e (patch)
treefe757a0d2626b98e0e33baf815fa77311a967843
parent4bcddbc3ef889b668348ff0b6050149c8b2fdf75 (diff)
%u
-rw-r--r--usr.bin/ssh/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/msg.c b/usr.bin/ssh/msg.c
index 7275c847dab..de19b057f92 100644
--- a/usr.bin/ssh/msg.c
+++ b/usr.bin/ssh/msg.c
@@ -22,7 +22,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: msg.c,v 1.3 2002/06/24 15:49:22 itojun Exp $");
+RCSID("$OpenBSD: msg.c,v 1.4 2002/07/01 16:15:25 deraadt Exp $");
#include "buffer.h"
#include "getput.h"
@@ -63,7 +63,7 @@ msg_recv(int fd, Buffer *m)
}
msg_len = GET_32BIT(buf);
if (msg_len > 256 * 1024)
- fatal("msg_recv: read: bad msg_len %d", msg_len);
+ fatal("msg_recv: read: bad msg_len %u", msg_len);
buffer_clear(m);
buffer_append_space(m, msg_len);
res = atomicio(read, fd, buffer_ptr(m), msg_len);