Fix another printf() format error which wasn't warned about
because the bio_blkno was bogusly casted to an int.
This commit is contained in:
parent
f368af933d
commit
92faa7b50f
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user