Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 20:51:21 +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: r235858 - head/sys/geom
Message-ID:  <201205232051.q4NKpL9i094787@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed May 23 20:51:21 2012
New Revision: 235858
URL: http://svn.freebsd.org/changeset/base/235858

Log:
   - Correct signedness for casts;
   - Wrap long line while I'm there.
  
  Noticed by:	pjd, avg

Modified:
  head/sys/geom/geom_flashmap.c

Modified: head/sys/geom/geom_flashmap.c
==============================================================================
--- head/sys/geom/geom_flashmap.c	Wed May 23 20:29:16 2012	(r235857)
+++ head/sys/geom/geom_flashmap.c	Wed May 23 20:51:21 2012	(r235858)
@@ -78,8 +78,9 @@ static void
 g_flashmap_print(struct g_flashmap_slice *slice)
 {
 
-	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);
+	printf("%08jx-%08jx: %s (%juKB)\n", (uintmax_t)slice->sl_start,
+	    (uintmax_t)slice->sl_end, slice->sl_name,
+	    (uintmax_t)(slice->sl_end - slice->sl_start) / 1024);
 }
 
 static int



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