[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] ad5d4de Printf pid using cast and %ld
From:       Poul-Henning Kamp <phk () FreeBSD ! org>
Date:       2018-03-27 20:20:09
Message-ID: 20180327202009.5933A96DAA () lists ! varnish-cache ! org
[Download RAW message or body]


commit ad5d4de5efa3be2344c21b43aea64e80251da4ec
Author: Poul-Henning Kamp <phk@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 4f9ab5a..d97ffb4 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);
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic