summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-10-23 10:40:17 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-10-23 10:40:17 +0000
commit45e5a93b6f8946f30d58f6e53d1c6ab1d84c4b62 (patch)
treebe3d65202525bcd5f8befbc564ec16ce4b59c4b3 /usr.bin
parent229a9d8e096fbc8e04a5dff827a027c420d74a75 (diff)
%u for u_int
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/bufaux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/bufaux.c b/usr.bin/ssh/bufaux.c
index 5e8254e5606..783580a8f2d 100644
--- a/usr.bin/ssh/bufaux.c
+++ b/usr.bin/ssh/bufaux.c
@@ -37,7 +37,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: bufaux.c,v 1.27 2002/06/26 08:53:12 markus Exp $");
+RCSID("$OpenBSD: bufaux.c,v 1.28 2002/10/23 10:40:16 markus Exp $");
#include <openssl/bn.h>
#include "bufaux.h"
@@ -221,7 +221,7 @@ buffer_get_string(Buffer *buffer, u_int *length_ptr)
/* Get the length. */
len = buffer_get_int(buffer);
if (len > 256 * 1024)
- fatal("buffer_get_string: bad string length %d", len);
+ fatal("buffer_get_string: bad string length %u", len);
/* Allocate space for the string. Add one byte for a null character. */
value = xmalloc(len + 1);
/* Get the string. */