[6.0] ad5d4de5e Printf pid using cast and %ld
Poul-Henning Kamp
phk at FreeBSD.org
Thu Aug 16 08:52:25 UTC 2018
commit ad5d4de5efa3be2344c21b43aea64e80251da4ec
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Mar 27 20:18:47 2018 +0000
Printf pid using cast and %ld
diff --git a/bin/varnishtest/vtc_haproxy.c b/bin/varnishtest/vtc_haproxy.c
index 4f9ab5a4f..d97ffb47d 100644
--- a/bin/varnishtest/vtc_haproxy.c
+++ b/bin/varnishtest/vtc_haproxy.c
@@ -548,7 +548,8 @@ cmd_haproxy(CMD_ARGS)
/* Reset and free */
VTAILQ_FOREACH_SAFE(h, &haproxies, list, h2) {
vtc_log(h->vl, 2,
- "Reset and free %s haproxy %d", h->name, h->pid);
+ "Reset and free %s haproxy %ld",
+ h->name, (long)h->pid);
if (h->pid >= 0)
haproxy_wait(h);
VTAILQ_REMOVE(&haproxies, h, list);
More information about the varnish-commit
mailing list