From owner-svn-src-head@FreeBSD.ORG Tue Apr 20 13:57:45 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 15D611065670; Tue, 20 Apr 2010 13:57:45 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id CDA478FC13; Tue, 20 Apr 2010 13:57:44 +0000 (UTC) Received: from [10.170.20.44] (nat-170-142-177-44.tn.gov [170.142.177.44]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o3KDvenf014804 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Apr 2010 09:57:41 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) Message-ID: <4BCDB2C8.7090505@FreeBSD.org> Date: Tue, 20 Apr 2010 08:57:28 -0500 From: Robert Noland Organization: FreeBSD User-Agent: Thunderbird 2.0.0.19 (X11/20090218) MIME-Version: 1.0 To: Julian Elischer References: <201004191511.o3JFBjLj036350@svn.freebsd.org> <4BCC7E64.4040200@FreeBSD.org> <4BCCDCC9.2070604@elischer.org> In-Reply-To: <4BCCDCC9.2070604@elischer.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.9 required=5.0 tests=AWL, BAYES_00, FH_DATE_PAST_20XX, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: svn-src-head@freebsd.org, Luigi Rizzo , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r206843 - head/sbin/ipfw 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: Tue, 20 Apr 2010 13:57:45 -0000 Julian Elischer wrote: > On 4/19/10 9:01 AM, Robert Noland wrote: >> >> >> Luigi Rizzo wrote: > > > [...] > >> Index: sbin/ipfw/ipfw2.c >> =================================================================== >> --- sbin/ipfw/ipfw2.c (revision 206844) >> +++ sbin/ipfw/ipfw2.c (working copy) >> @@ -326,7 +326,7 @@ >> #ifdef TCC >> #define U64_FMT "I64" >> #else >> -#define U64_FMT "llu" >> +#define U64_FMT "ju" >> #endif >> uint64_t d; > > believe there is a posix define for this? > (though I can't remember it right now). machine/_inttypes.h ... #define PRIu8 "u" /* uint8_t */ #define PRIu16 "u" /* uint16_t */ #define PRIu32 "u" /* uint32_t */ #define PRIu64 "lu" /* uint64_t */ ... robert. >> >> robert. > > [...]