summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_flashmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom_flashmap.c')
-rw-r--r--sys/geom/geom_flashmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_flashmap.c b/sys/geom/geom_flashmap.c
index c657123..e682dbb 100644
--- a/sys/geom/geom_flashmap.c
+++ b/sys/geom/geom_flashmap.c
@@ -78,8 +78,8 @@ static void
g_flashmap_print(struct g_flashmap_slice *slice)
{
- printf("%08llx-%08llx: %s (%lluKB)\n", slice->sl_start, slice->sl_end,
- slice->sl_name, (slice->sl_end - slice->sl_start) / 1024);
+ printf("%08jx-%08jx: %s (%lluKB)\n", (intmax_t)slice->sl_start, (intmax_t)slice->sl_end,
+ slice->sl_name, (uintmax_t)(slice->sl_end - slice->sl_start) / 1024);
}
static int
OpenPOWER on IntegriCloud