diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-07 22:41:08 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-07 22:41:08 +0000 |
commit | 602ba7d5eb8740e3e545bce0eb8e03c4ab237859 (patch) | |
tree | 3c2ec1eac5d9861c85774dd1809c957b8c40c3a8 /sys | |
parent | 47dd2d4a6b65f4a9523d02fa017c71b069322b97 (diff) | |
download | FreeBSD-src-602ba7d5eb8740e3e545bce0eb8e03c4ab237859.zip FreeBSD-src-602ba7d5eb8740e3e545bce0eb8e03c4ab237859.tar.gz |
- Use %j to print intmax_t values.
- Cast more daddr_t values to intmax_t when printing to quiet warnings.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_cluster.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 1994c54..7fd0402 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -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 |