[master] f8be8b0 Fix a printf-format mismatch for OS/X
Poul-Henning Kamp
phk at FreeBSD.org
Fri Oct 3 09:29:15 CEST 2014
commit f8be8b035a73b76849e93eac333738b4619f485a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Oct 3 07:28:48 2014 +0000
Fix a printf-format mismatch for OS/X
diff --git a/bin/varnishd/cache/cache_fetch_proc.c b/bin/varnishd/cache/cache_fetch_proc.c
index 331efce..e2d9796 100644
--- a/bin/varnishd/cache/cache_fetch_proc.c
+++ b/bin/varnishd/cache/cache_fetch_proc.c
@@ -121,8 +121,8 @@ VFP_Close(struct vfp_ctx *vc)
VTAILQ_FOREACH(vfe, &vc->vfp, list) {
if(vfe->vfp->fini != NULL)
vfe->vfp->fini(vc, vfe);
- VSLb(vc->wrk->vsl, SLT_VfpAcct, "%s %ju %ju",
- vfe->vfp->name, vfe->calls, vfe->bytes_out);
+ VSLb(vc->wrk->vsl, SLT_VfpAcct, "%s %ju %ju", vfe->vfp->name,
+ (uintmax_t)vfe->calls, (uintmax_t)vfe->bytes_out);
}
}
More information about the varnish-commit
mailing list