- Use %j to print intmax_t values.

- Cast more daddr_t values to intmax_t when printing to quiet warnings.
This commit is contained in:
John Baldwin 2002-11-07 22:41:08 +00:00
parent d0e938f4f1
commit 6274bdda4c

View File

@ -289,10 +289,11 @@ single_block_read:
printf("A+");
else
printf("A");
printf("(%lld,%ld,%lld,%d) ",
(intmax_t)rbp->b_lblkno, rbp->b_bcount,
printf("(%jd,%jd,%jd,%jd) ",
(intmax_t)rbp->b_lblkno,
(intmax_t)rbp->b_bcount,
(intmax_t)(rbp->b_lblkno - origblkno),
seqcount);
(intmax_t)seqcount);
}
#endif