[master] 2a57aeaf0 Revert printf format to match size_t
Poul-Henning Kamp
phk at FreeBSD.org
Tue Feb 5 08:41:08 UTC 2019
commit 2a57aeaf04f874e68b461a2891177a3dbc99081d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Feb 5 08:40:39 2019 +0000
Revert printf format to match size_t
diff --git a/lib/libvmod_blob/vmod_blob.c b/lib/libvmod_blob/vmod_blob.c
index 75e691794..d032a439b 100644
--- a/lib/libvmod_blob/vmod_blob.c
+++ b/lib/libvmod_blob/vmod_blob.c
@@ -527,7 +527,7 @@ vmod_sub(VRT_CTX, VCL_BLOB b, VCL_BYTES n, VCL_BYTES off)
if (off + n > b->len) {
VERR(ctx, "size %jd from offset %jd requires more bytes than "
- "blob length %ld in blob.sub()",
+ "blob length %zd in blob.sub()",
(intmax_t)n, (intmax_t)off, b->len);
return NULL;
}
More information about the varnish-commit
mailing list