Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 18:17:02 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235852 - head/sys/geom
Message-ID:  <201205231817.q4NIH2t7088267@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205231817.q4NIH2t7088267>