Commit 6313596a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use correct printf spec for ssize_t

parent abeded8d
......@@ -509,6 +509,6 @@ vmod_barrier_sync(VRT_CTX, VCL_STRING addr)
VSLb(ctx->vsl, SLT_Error,
"Barrier read failed: %s (errno=%d)", strerror(i), i);
if (sz > 0)
VSLb(ctx->vsl, SLT_Error, "Barrier unexpected data (%ldB)", sz);
VSLb(ctx->vsl, SLT_Error, "Barrier unexpected data (%zdB)", sz);
return (0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment