diff options
author | delphij <delphij@FreeBSD.org> | 2012-05-23 17:49:59 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2012-05-23 17:49:59 +0000 |
commit | 1b7baa2fc1e9e62d27e339ef2a88d15ffe171da4 (patch) | |
tree | 9f07520bd9bb7b0546e24baec54d5284719bacdd | |
parent | 0f72ed47b5719a5b7dc3f87eb8573fdb7ef255b8 (diff) | |
download | FreeBSD-src-1b7baa2fc1e9e62d27e339ef2a88d15ffe171da4.zip FreeBSD-src-1b7baa2fc1e9e62d27e339ef2a88d15ffe171da4.tar.gz |
Use %j and cast off_t to intmax_t for now to fix build.
Noticed by: bz
-rw-r--r-- | sys/geom/geom_flashmap.c | 4 |
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 |