summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 20:12:08 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 20:12:08 +0000
commit3f502bc0e38e05c234115d22c39f02e6a4ab4fcb (patch)
tree238d3b540747a50a07627dd1905156c7acd0b33c /sys/geom
parent5d439a2c2615b70e5e9f7d6a50975c6cef656c14 (diff)
downloadFreeBSD-src-3f502bc0e38e05c234115d22c39f02e6a4ab4fcb.zip
FreeBSD-src-3f502bc0e38e05c234115d22c39f02e6a4ab4fcb.tar.gz
Fix bio->bio_blkno format warning.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_ccd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index 72b2f7e..54b3a13 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -1078,9 +1078,9 @@ ccdbuffer(struct ccdbuf **cb, struct ccd_s *cs, struct bio *bp, daddr_t bn, cadd
#ifdef DEBUG
if (ccddebug & CCDB_IO)
- printf(" dev %p(u%ld): cbp %p bn %d addr %p bcnt %ld\n",
+ printf(" dev %p(u%ld): cbp %p bn %lld addr %p bcnt %ld\n",
ci->ci_dev, (unsigned long)(ci-cs->sc_cinfo), cbp,
- cbp->cb_buf.bio_blkno, cbp->cb_buf.bio_data,
+ (long long)cbp->cb_buf.bio_blkno, cbp->cb_buf.bio_data,
cbp->cb_buf.bio_bcount);
#endif
cb[0] = cbp;
@@ -1138,9 +1138,9 @@ ccdiodone(struct bio *ibp)
if (ccddebug & CCDB_IO) {
printf("ccdiodone: bp %p bcount %ld resid %ld\n",
bp, bp->bio_bcount, bp->bio_resid);
- printf(" dev %p(u%d), cbp %p bn %d addr %p bcnt %ld\n",
+ printf(" dev %p(u%d), cbp %p bn %lld addr %p bcnt %ld\n",
cbp->cb_buf.bio_dev, cbp->cb_comp, cbp,
- cbp->cb_buf.bio_blkno, cbp->cb_buf.bio_data,
+ (long long)cbp->cb_buf.bio_blkno, cbp->cb_buf.bio_data,
cbp->cb_buf.bio_bcount);
}
#endif
OpenPOWER on IntegriCloud