[4.0] f01131b Fix printf format nit.

Poul-Henning Kamp phk at FreeBSD.org
Thu Mar 13 10:24:24 CET 2014


commit f01131b30ff664f8cdf9657947cc178cbbf32416
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Feb 7 11:29:26 2014 +0000

    Fix printf format nit.
    
    Fixes #1429

diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index 99c54fa..0b71923 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -813,7 +813,7 @@ varnish_expect(const struct varnish *v, char * const *av) {
 		    av[0], sp.val, av[1], av[2]);
 	} else {
 		vtc_log(v->vl, 0, "Not true: %s (%ju) %s %s (%ju)",
-		    av[0], sp.val, av[1], av[2], ref);
+		    av[0], (uintmax_t)sp.val, av[1], av[2], (uintmax_t)ref);
 	}
 }
 



More information about the varnish-commit mailing list