[4.1] 6df5e61 Use correct printf spec for ssize_t
Lasse Karstensen
lkarsten at varnish-software.com
Tue Jun 14 11:19:09 CEST 2016
commit 6df5e6149dcda40cef7385e0b81e4fd3d2b1f9e0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Apr 5 22:13:00 2016 +0000
Use correct printf spec for ssize_t
diff --git a/lib/libvmod_debug/vmod_debug.c b/lib/libvmod_debug/vmod_debug.c
index f014715..f5d5326 100644
--- a/lib/libvmod_debug/vmod_debug.c
+++ b/lib/libvmod_debug/vmod_debug.c
@@ -507,6 +507,6 @@ vmod_barrier_sync(VRT_CTX, VCL_STRING addr)
VSLb(ctx->vsl, SLT_Error,
"Barrier read failed: %s (errno=%d)", strerror(i), i);
if (sz > 0)
- VSLb(ctx->vsl, SLT_Error, "Barrier unexpected data (%ldB)", sz);
+ VSLb(ctx->vsl, SLT_Error, "Barrier unexpected data (%zdB)", sz);
return (0);
}
More information about the varnish-commit
mailing list