summaryrefslogtreecommitdiffstats
path: root/sys/net/pf_lb.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2011-09-18 11:17:57 +0000
committermiod <miod@openbsd.org>2011-09-18 11:17:57 +0000
commit94b88d7ed8e86848c4adf35464ed80fe33a26eae (patch)
treebf19f8b72513e240de4fcafc403d9d9b92d9cb5c /sys/net/pf_lb.c
parentTake into account the PIE bits when masking PDEs. (diff)
downloadwireguard-openbsd-94b88d7ed8e86848c4adf35464ed80fe33a26eae.tar.xz
wireguard-openbsd-94b88d7ed8e86848c4adf35464ed80fe33a26eae.zip
Fix various format string types to as a minimum match the width of the
variables being processed. ok bluhm@ henning@
Diffstat (limited to 'sys/net/pf_lb.c')
-rw-r--r--sys/net/pf_lb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_lb.c b/sys/net/pf_lb.c
index cef02687a55..bd9e78f7745 100644
--- a/sys/net/pf_lb.c
+++ b/sys/net/pf_lb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_lb.c,v 1.17 2011/07/29 10:48:35 mcbride Exp $ */
+/* $OpenBSD: pf_lb.c,v 1.18 2011/09/18 11:17:57 miod Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -560,7 +560,7 @@ pf_map_addr(sa_family_t af, struct pf_rule *r, struct pf_addr *saddr,
pf_print_host(naddr, 0, af);
if ((rpool->opts & PF_POOL_TYPEMASK) ==
PF_POOL_LEASTSTATES)
- addlog(" with state count %d", states);
+ addlog(" with state count %llu", states);
if (((rpool->addr.type == PF_ADDR_TABLE &&
rpool->addr.p.tbl->pfrkt_refcntcost > 0) ||
(rpool->addr.type == PF_ADDR_DYNIFTL &&