[master] ab53b55 Fix a printf format error
Poul-Henning Kamp
phk at FreeBSD.org
Mon Aug 11 12:19:01 CEST 2014
commit ab53b55f7b861d55d102998c0bfb0096d234efb4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Aug 11 10:18:53 2014 +0000
Fix a printf format error
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 9635293..3abd6ef 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -808,7 +808,7 @@ vbf_fetch_thread(struct worker *wrk, void *priv)
AZ(bo->fetch_objcore->flags & OC_F_FAILED);
HSH_Complete(bo->fetch_objcore);
VSLb(bo->vsl, SLT_Length, "%zd",
- ObjGetLen(bo->fetch_objcore, bo->stats));
+ (uintmax_t)ObjGetLen(bo->fetch_objcore, bo->stats));
}
AZ(bo->fetch_objcore->busyobj);
More information about the varnish-commit
mailing list