summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_flashmap.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-05-23 20:51:21 +0000
committerdelphij <delphij@FreeBSD.org>2012-05-23 20:51:21 +0000
commit3eb6aeaebe24855876cf02a000d5c01ab9d16bec (patch)
treebf0f0a64046fcddd9d61eea3e4376b7347427828 /sys/geom/geom_flashmap.c
parent1e811ebbe32caa975bd6c21ecdf75d004ead2b10 (diff)
downloadFreeBSD-src-3eb6aeaebe24855876cf02a000d5c01ab9d16bec.zip
FreeBSD-src-3eb6aeaebe24855876cf02a000d5c01ab9d16bec.tar.gz
- Correct signedness for casts;
- Wrap long line while I'm there. Noticed by: pjd, avg
Diffstat (limited to 'sys/geom/geom_flashmap.c')
-rw-r--r--sys/geom/geom_flashmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/geom/geom_flashmap.c b/sys/geom/geom_flashmap.c
index 4962120..341a5da 100644
--- a/sys/geom/geom_flashmap.c
+++ b/sys/geom/geom_flashmap.c
@@ -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
OpenPOWER on IntegriCloud