svn commit: r272900 - head/sys/netpfil/ipfw
Alexander V. Chernikov
melifaro at FreeBSD.org
Fri Oct 10 18:57:13 UTC 2014
Author: melifaro
Date: Fri Oct 10 18:57:12 2014
New Revision: 272900
URL: https://svnweb.freebsd.org/changeset/base/272900
Log:
Fix KASSERT argument type.
Modified:
head/sys/netpfil/ipfw/ip_fw_sockopt.c
Modified: head/sys/netpfil/ipfw/ip_fw_sockopt.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_sockopt.c Fri Oct 10 18:31:35 2014 (r272899)
+++ head/sys/netpfil/ipfw/ip_fw_sockopt.c Fri Oct 10 18:57:12 2014 (r272900)
@@ -3185,7 +3185,7 @@ ipfw_objhash_bitmap_alloc(uint32_t items
u_long *idx_mask;
KASSERT((items % BLOCK_ITEMS) == 0,
- ("bitmask size needs to power of 2 and greater or equal to %lu",
+ ("bitmask size needs to power of 2 and greater or equal to %zu",
BLOCK_ITEMS));
max_blocks = items / BLOCK_ITEMS;
More information about the svn-src-head
mailing list