diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ccd/ccd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c index 2ce6ce2..519ea98 100644 --- a/sys/dev/ccd/ccd.c +++ b/sys/dev/ccd/ccd.c @@ -1177,9 +1177,10 @@ ccdiodone(struct bio *ibp) bp->bio_error = cbp->cb_buf.bio_error ? cbp->cb_buf.bio_error : EIO; } - printf("ccd%d: error %d on component %d block %d " + printf("ccd%d: error %d on component %d block %jd " "(ccd block %jd)%s\n", unit, bp->bio_error, cbp->cb_comp, - (int)cbp->cb_buf.bio_blkno, (intmax_t)bp->bio_blkno, msg); + (intmax_t)cbp->cb_buf.bio_blkno, (intmax_t)bp->bio_blkno, + msg); } /* |