svn commit: r235852 - head/sys/geom
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed May 23 19:24:25 UTC 2012
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
>
> Log:
> Use %ju to match uintmax_t usage
>
> Modified:
> head/sys/geom/geom_flashmap.c
>
> Modified: head/sys/geom/geom_flashmap.c
> ==============================================================================
> --- 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)
> {
>
> - 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?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120523/c5c21a97/attachment.pgp
More information about the svn-src-head
mailing list