[master] 85956ba Another stab at getting this printf right
Poul-Henning Kamp
phk at FreeBSD.org
Mon Aug 11 14:43:23 CEST 2014
commit 85956bae06a516394dec3dc47ca0c0e13b06c4aa
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Aug 11 12:43:01 2014 +0000
Another stab at getting this printf right
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index aa5f2e5..b69b0c0 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -796,7 +796,7 @@ vbf_fetch_thread(struct worker *wrk, void *priv)
if (bo->state == BOS_FINISHED) {
AZ(bo->fetch_objcore->flags & OC_F_FAILED);
HSH_Complete(bo->fetch_objcore);
- VSLb(bo->vsl, SLT_Length, "%zd",
+ VSLb(bo->vsl, SLT_Length, "%ju",
(uintmax_t)ObjGetLen(bo->fetch_objcore, bo->stats));
}
AZ(bo->fetch_objcore->busyobj);
More information about the varnish-commit
mailing list