summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-05-23 18:17:02 +0000
committerdelphij <delphij@FreeBSD.org>2012-05-23 18:17:02 +0000
commit582b1102f53a247eb790e5358322fd47c9041c1d (patch)
tree2649d45182f0c2be87c928377fe95fdb6e0663d3 /sys/geom
parent01c4156d224069177b98407585e2dcdeb75b8170 (diff)
downloadFreeBSD-src-582b1102f53a247eb790e5358322fd47c9041c1d.zip
FreeBSD-src-582b1102f53a247eb790e5358322fd47c9041c1d.tar.gz
Use %ju to match uintmax_t usage
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_flashmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_flashmap.c b/sys/geom/geom_flashmap.c
index e682dbb..4962120 100644
--- a/sys/geom/geom_flashmap.c
+++ b/sys/geom/geom_flashmap.c
@@ -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);
}
OpenPOWER on IntegriCloud