From owner-svn-src-head@FreeBSD.ORG Wed May 23 19:24:25 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5333C1065673; Wed, 23 May 2012 19:24:25 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 015DC8FC12; Wed, 23 May 2012 19:24:25 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 62FEA32B; Wed, 23 May 2012 21:24:17 +0200 (CEST) Date: Wed, 23 May 2012 21:22:32 +0200 From: Pawel Jakub Dawidek To: Xin LI Message-ID: <20120523192232.GA1399@garage.freebsd.pl> References: <201205231817.q4NIH2t7088267@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <201205231817.q4NIH2t7088267@svn.freebsd.org> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r235852 - head/sys/geom 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: Wed, 23 May 2012 19:24:25 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 23, 2012 at 06:17:02PM +0000, Xin LI wrote: > Author: delphij > Date: Wed May 23 18:17:02 2012 > New Revision: 235852 > URL: http://svn.freebsd.org/changeset/base/235852 >=20 > Log: > Use %ju to match uintmax_t usage >=20 > Modified: > head/sys/geom/geom_flashmap.c >=20 > Modified: head/sys/geom/geom_flashmap.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=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/geom/geom_flashmap.c Wed May 23 18:11:36 2012 (r235851) > +++ head/sys/geom/geom_flashmap.c Wed May 23 18:17:02 2012 (r235852) > @@ -78,7 +78,7 @@ static void > g_flashmap_print(struct g_flashmap_slice *slice) > { > =20 > - printf("%08jx-%08jx: %s (%lluKB)\n", (intmax_t)slice->sl_start, (intmax= _t)slice->sl_end, > + printf("%08jx-%08jx: %s (%juKB)\n", (intmax_t)slice->sl_start, (intmax_= t)slice->sl_end, > slice->sl_name, (uintmax_t)(slice->sl_end - slice->sl_start) / 1024= ); BTW, %jx is also uintmax_t, not intmax_t, right? --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+9OPgACgkQForvXbEpPzRtjwCgrJG3TjGRhilrq/jbnSJYgw1v zh0AoNBxqk2AisHWQxv1UpJzvSA4jJrw =RtsC -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--