diff options
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/pc98/diskslice_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/pc98/diskslice_machdep.c b/sys/pc98/pc98/diskslice_machdep.c index a829592..5ff899c 100644 --- a/sys/pc98/pc98/diskslice_machdep.c +++ b/sys/pc98/pc98/diskslice_machdep.c @@ -249,7 +249,7 @@ reread_mbr: bp->b_bcount = 1024; #endif DEV_STRATEGY(bp, 1); - if (biowait(bp) != 0) { + if (bufwait(bp) != 0) { diskerr(&bp->b_io, "reading primary partition table: error", LOG_PRINTF, 0, (struct disklabel *)NULL); printf("\n"); @@ -550,7 +550,7 @@ mbr_extended(dev, lp, ssp, ext_offset, ext_size, base_ext_offset, nsectors, bp->b_bcount = lp->d_secsize; bp->b_iocmd = BIO_READ; BUF_STRATEGY(bp, 1); - if (biowait(bp) != 0) { + if (bufwait(bp) != 0) { diskerr(bp, "reading extended partition table: error", LOG_PRINTF, 0, (struct disklabel *)NULL); printf("\n"); |