summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshbuf-misc.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2015-03-24 20:03:44 +0000
committermarkus <markus@openbsd.org>2015-03-24 20:03:44 +0000
commitcfb5d775776d569d64f8ba8bdb50e80d034f5392 (patch)
tree10b10d0062944a7b1fecad6157c9c0f8c8db7b0b /usr.bin/ssh/sshbuf-misc.c
parentinstead of routing SIGHUP thru sighdlr_dns() which then ignores it, (diff)
downloadwireguard-openbsd-cfb5d775776d569d64f8ba8bdb50e80d034f5392.tar.xz
wireguard-openbsd-cfb5d775776d569d64f8ba8bdb50e80d034f5392.zip
correct fmt-string for size_t as noted by Nicholas Lemonias; ok djm@
Diffstat (limited to 'usr.bin/ssh/sshbuf-misc.c')
-rw-r--r--usr.bin/ssh/sshbuf-misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshbuf-misc.c b/usr.bin/ssh/sshbuf-misc.c
index c52929c3f37..9c541159f14 100644
--- a/usr.bin/ssh/sshbuf-misc.c
+++ b/usr.bin/ssh/sshbuf-misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshbuf-misc.c,v 1.3 2015/02/05 12:59:57 millert Exp $ */
+/* $OpenBSD: sshbuf-misc.c,v 1.4 2015/03/24 20:03:44 markus Exp $ */
/*
* Copyright (c) 2011 Damien Miller
*
@@ -38,7 +38,7 @@ sshbuf_dump_data(const void *s, size_t len, FILE *f)
const u_char *p = (const u_char *)s;
for (i = 0; i < len; i += 16) {
- fprintf(f, "%.4zd: ", i);
+ fprintf(f, "%.4zu: ", i);
for (j = i; j < i + 16; j++) {
if (j < len)
fprintf(f, "%02x ", p[j]);