[master] 05065fe Fix another size_t printf format

Poul-Henning Kamp phk at FreeBSD.org
Wed Apr 6 00:21:04 CEST 2016


commit 05065fea0f0df8530ed56ccdd44ea0ea4223bce5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Apr 5 22:20:31 2016 +0000

    Fix another size_t printf format

diff --git a/bin/varnishtest/vtc_barrier.c b/bin/varnishtest/vtc_barrier.c
index f0becfa..a7bffc4 100644
--- a/bin/varnishtest/vtc_barrier.c
+++ b/bin/varnishtest/vtc_barrier.c
@@ -328,7 +328,7 @@ barrier_sock_sync(struct barrier *b, struct vtclog *vl)
 		vtc_log(vl, 0, "Barrier(%s) read failed: %s (errno=%d)",
 		    b->name, strerror(i), i);
 	if (sz > 0)
-		vtc_log(vl, 0, "Barrier(%s) unexpected data (%ldB)",
+		vtc_log(vl, 0, "Barrier(%s) unexpected data (%zdB)",
 		    b->name, sz);
 }
 



More information about the varnish-commit mailing list