[master] d402971 change probe stats bitmaps to match %ju format

Nils Goroll nils.goroll at uplex.de
Mon May 14 09:40:23 UTC 2018


commit d402971580f52a3c74208e882b0916f3c8643747
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon May 14 11:37:23 2018 +0200

    change probe stats bitmaps to match %ju format
    
    or should we use "%" PRIu64 in the format ?
    
    reported by Travis via @fgsch

diff --git a/bin/varnishd/cache/cache_backend_probe.c b/bin/varnishd/cache/cache_backend_probe.c
index 9eb7a7f..e9f886e 100644
--- a/bin/varnishd/cache/cache_backend_probe.c
+++ b/bin/varnishd/cache/cache_backend_probe.c
@@ -71,7 +71,7 @@ struct vbp_target {
 	unsigned			good;
 
 	/* Collected statistics */
-#define BITMAP(n, c, t, b)	uint64_t	n;
+#define BITMAP(n, c, t, b)	uintmax_t	n;
 #include "tbl/backend_poll.h"
 
 	double				last;


More information about the varnish-commit mailing list