Date: Wed, 23 May 2012 21:22:32 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Xin LI <delphij@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r235852 - head/sys/geom Message-ID: <20120523192232.GA1399@garage.freebsd.pl> In-Reply-To: <201205231817.q4NIH2t7088267@svn.freebsd.org> References: <201205231817.q4NIH2t7088267@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120523192232.GA1399>