aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2018-04-08 07:18:29 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2018-04-08 07:18:29 +0000
commitf33fbc18f52bb3ee750a645f295cdf0d654e269b (patch)
treee83f87cebb6c6fadd5a4c08603e45de684292e94
parent2a36aee276abf64bc667e3ae537911018e63bb8b (diff)
Notes
-rw-r--r--tools/diag/prtblknos/prtblknos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/diag/prtblknos/prtblknos.c b/tools/diag/prtblknos/prtblknos.c
index 5f257a8dea62..5bea799cf44c 100644
--- a/tools/diag/prtblknos/prtblknos.c
+++ b/tools/diag/prtblknos/prtblknos.c
@@ -156,7 +156,8 @@ distance(fs, lastblk, firstblk)
return (&buf[0]);
}
snprintf(buf, 100, " cg %d blk %jd to cg %d blk %jd",
- lastcg, dtogd(fs, lastblk), firstcg, dtogd(fs, firstblk));
+ lastcg, (intmax_t)dtogd(fs, lastblk), firstcg,
+ (intmax_t)dtogd(fs, firstblk));
return (&buf[0]);
}