diff options
author | mux <mux@FreeBSD.org> | 2002-06-23 18:32:39 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-06-23 18:32:39 +0000 |
commit | abb73c48ca5ef431b3c9c5688b34606fc1386019 (patch) | |
tree | 78f21a3b163d9615eb2ed887982303d46357f7c2 /sys/kern/subr_disklabel.c | |
parent | ed708cd74d271f867f423f66439c5261e2fd4c90 (diff) | |
download | FreeBSD-src-abb73c48ca5ef431b3c9c5688b34606fc1386019.zip FreeBSD-src-abb73c48ca5ef431b3c9c5688b34606fc1386019.tar.gz |
More 64 bits platforms warning fixes.
Reviewed by: rwatson
Diffstat (limited to 'sys/kern/subr_disklabel.c')
-rw-r--r-- | sys/kern/subr_disklabel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c index 3bedc9c..e149687 100644 --- a/sys/kern/subr_disklabel.c +++ b/sys/kern/subr_disklabel.c @@ -399,11 +399,11 @@ diskerr(bp, what, blkdone, lp) bp->bio_cmd == BIO_READ ? "read" : "writ"); sn = bp->bio_blkno; if (bp->bio_bcount <= DEV_BSIZE) - printf("%lld", (intmax_t)sn); + printf("%jd", (intmax_t)sn); else { if (blkdone >= 0) { sn += blkdone; - printf("%lld of ", (intmax_t)sn); + printf("%jd of ", (intmax_t)sn); } printf("%ld-%ld", (long)bp->bio_blkno, (long)(bp->bio_blkno + (bp->bio_bcount - 1) / DEV_BSIZE)); @@ -417,7 +417,7 @@ diskerr(bp, what, blkdone, lp) * independent of slices, labels and bad sector remapping, * but some drivers don't set bp->b_pblkno. */ - printf(" (%s bn %lld; cn %lld", sname, (intmax_t)sn, + printf(" (%s bn %jd; cn %jd", sname, (intmax_t)sn, (intmax_t)(sn / lp->d_secpercyl)); sn %= lp->d_secpercyl; printf(" tn %ld sn %ld)", (long)(sn / lp->d_nsectors), |