[master] 6ca043b Fix printf-format

Poul-Henning Kamp phk at FreeBSD.org
Tue Sep 13 10:40:16 CEST 2016


commit 6ca043bb374046845042840607d4dd522c3d5fd5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Sep 13 08:39:39 2016 +0000

    Fix printf-format

diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index c48ef05..eaf91f4 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -829,7 +829,7 @@ do_stat_dump_cb(void *priv, const struct VSC_point * const pt)
 			return (0);
 	}
 
-	vtc_log(v->vl, 4, "VSC %s %ju",  buf, u);
+	vtc_log(v->vl, 4, "VSC %s %ju",  buf, (uintmax_t)u);
 	return (0);
 }
 



More information about the varnish-commit mailing list