summaryrefslogtreecommitdiff
path: root/sshbuf-misc.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-03-24 20:03:44 +0000
committerDamien Miller <djm@mindrot.org>2015-03-27 12:00:47 +1100
commitdf100be51354e447d9345cf1ec22e6013c0eed50 (patch)
tree46e7d3a6a0d95a51f97914337c4c0143cfc0b338 /sshbuf-misc.c
parenta22b9ef21285e81775732436f7c84a27bd3f71e0 (diff)
downloadopenssh-git-df100be51354e447d9345cf1ec22e6013c0eed50.tar.gz
upstream commit
correct fmt-string for size_t as noted by Nicholas Lemonias; ok djm@
Diffstat (limited to 'sshbuf-misc.c')
-rw-r--r--sshbuf-misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshbuf-misc.c b/sshbuf-misc.c
index f1c2d03c..d022065f 100644
--- a/sshbuf-misc.c
+++ b/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
*
@@ -42,7 +42,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]);