Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2014 18:57:13 +0000 (UTC)
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272900 - head/sys/netpfil/ipfw
Message-ID:  <201410101857.s9AIvD5L035161@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410101857.s9AIvD5L035161>