From owner-svn-src-head@FreeBSD.ORG Sat Nov 13 15:52:04 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34649106566B; Sat, 13 Nov 2010 15:52:04 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id E1AAA8FC0A; Sat, 13 Nov 2010 15:52:03 +0000 (UTC) Received: from tmpll101wap.cooper.edu ([199.98.18.212] helo=[10.20.1.201]) by vps.hungerhost.com with esmtpa (Exim 4.69) (envelope-from ) id 1PHHoh-0000We-EE; Sat, 13 Nov 2010 10:14:59 -0500 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: George Neville-Neil In-Reply-To: <86fwv57fph.fsf@kopusha.home.net> Date: Sat, 13 Nov 2010 10:15:00 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201011122203.oACM32cN024939@svn.freebsd.org> <86fwv57fph.fsf@kopusha.home.net> To: Mikolaj Golub X-Mailer: Apple Mail (2.1082) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r215207 - in head: sys/net sys/netinet tools/regression/netinet/arphold X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 15:52:04 -0000 On Nov 13, 2010, at 04:09 , Mikolaj Golub wrote: >=20 > On Fri, 12 Nov 2010 22:03:02 +0000 (UTC) George V. Neville-Neil wrote: >=20 > GVN> Author: gnn > GVN> Date: Fri Nov 12 22:03:02 2010 > GVN> New Revision: 215207 > GVN> URL: http://svn.freebsd.org/changeset/base/215207 >=20 >=20 >=20 > cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline = -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc = -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL = -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common = -finline-limit=3D8000 --param inline-unit-growth=3D100 --param = large-function-growth=3D1000 -mno-align-long-strings = -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 = -mno-sse3 -ffreestanding -fstack-protector -Werror = /usr/src/sys/net/if_llatbl.c > cc1: warnings being treated as errors > /usr/src/sys/net/if_llatbl.c: In function 'llentry_free': > /usr/src/sys/net/if_llatbl.c:124: warning: format '%ld' expects type = 'long int', but argument 4 has type 'size_t' > *** Error code 1 >=20 > I think this should be: >=20 > Index: sys/net/if_llatbl.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/net/if_llatbl.c (revision 215233) > +++ sys/net/if_llatbl.c (working copy) > @@ -122,7 +122,7 @@ llentry_free(struct llentry *lle) > } >=20 > KASSERT(lle->la_numheld =3D=3D 0,=20 > - ("%s: la_numheld %d > 0, pkts_droped %ld", __func__,=20 > + ("%s: la_numheld %d > 0, pkts_droped %zu", __func__,=20 > lle->la_numheld, pkts_dropped)); >=20 > LLE_FREE_LOCKED(lle); Looks like Konstatin already fixed this. Best, George