[master] 59c6345 printf format fix
Poul-Henning Kamp
phk at FreeBSD.org
Wed Nov 11 11:08:58 CET 2015
commit 59c6345846dfe5cca62d99cfbb4e6934d64880a6
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Nov 11 10:08:48 2015 +0000
printf format fix
diff --git a/bin/varnishd/cache/cache_ban.c b/bin/varnishd/cache/cache_ban.c
index c8971bc..3042653 100644
--- a/bin/varnishd/cache/cache_ban.c
+++ b/bin/varnishd/cache/cache_ban.c
@@ -684,7 +684,7 @@ ccf_ban_list(struct cli *cli, const char * const *av, void *priv)
VTAILQ_FOREACH(b, &ban_head, list) {
o = bl == b ? 1 : 0;
VCLI_Out(cli, "%10.6f %5ju %s", ban_time(b->spec),
- (intmax_t)b->refcount - o,
+ (intmax_t)(b->refcount - o),
b->flags & BANS_FLAG_COMPLETED ? "C" : "-");
if (DO_DEBUG(DBG_LURKER)) {
VCLI_Out(cli, "%s%s %p ",
More information about the varnish-commit
mailing list