diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-19 20:12:08 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-19 20:12:08 +0000 |
commit | 3f502bc0e38e05c234115d22c39f02e6a4ab4fcb (patch) | |
tree | 238d3b540747a50a07627dd1905156c7acd0b33c | |
parent | 5d439a2c2615b70e5e9f7d6a50975c6cef656c14 (diff) | |
download | FreeBSD-src-3f502bc0e38e05c234115d22c39f02e6a4ab4fcb.zip FreeBSD-src-3f502bc0e38e05c234115d22c39f02e6a4ab4fcb.tar.gz |
Fix bio->bio_blkno format warning.
-rw-r--r-- | sys/dev/ccd/ccd.c | 8 | ||||
-rw-r--r-- | sys/geom/geom_ccd.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c index 72b2f7e..54b3a13 100644 --- a/sys/dev/ccd/ccd.c +++ b/sys/dev/ccd/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 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 |