diff options
author | phk <phk@FreeBSD.org> | 2000-04-29 16:25:22 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-04-29 16:25:22 +0000 |
commit | 1931990da03f90281446f4901f3b30c2c383066d (patch) | |
tree | 19592270a836346156cc3bec20bf2da14160b941 /sys/kern/subr_disklabel.c | |
parent | 24992f67a9ab42ef0d1f457fe05565fa61032d1b (diff) | |
download | FreeBSD-src-1931990da03f90281446f4901f3b30c2c383066d.zip FreeBSD-src-1931990da03f90281446f4901f3b30c2c383066d.tar.gz |
s/biowait/bufwait/g
Prodded by: several.
Diffstat (limited to 'sys/kern/subr_disklabel.c')
-rw-r--r-- | sys/kern/subr_disklabel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c index f3f7b98..fc7fb28 100644 --- a/sys/kern/subr_disklabel.c +++ b/sys/kern/subr_disklabel.c @@ -183,7 +183,7 @@ readdisklabel(dev, lp) bp->b_flags &= ~B_INVAL; bp->b_iocmd = BIO_READ; DEV_STRATEGY(bp, 1); - if (biowait(bp)) + if (bufwait(bp)) msg = "I/O error"; else for (dlp = (struct disklabel *)bp->b_data; dlp <= (struct disklabel *)((char *)bp->b_data + @@ -286,7 +286,7 @@ writedisklabel(dev, lp) bp->b_flags &= ~B_INVAL; bp->b_iocmd = BIO_READ; DEV_STRATEGY(bp, 1); - error = biowait(bp); + error = bufwait(bp); if (error) goto done; for (dlp = (struct disklabel *)bp->b_data; @@ -302,7 +302,7 @@ writedisklabel(dev, lp) alpha_fix_srm_checksum(bp); #endif DEV_STRATEGY(bp, 1); - error = biowait(bp); + error = bufwait(bp); goto done; } } @@ -315,7 +315,7 @@ done: bp->b_flags &= ~B_INVAL; bp->b_iocmd = BIO_WRITE; DEV_STRATEGY(bp, 1); - error = biowait(bp); + error = bufwait(bp); #endif bp->b_flags |= B_INVAL | B_AGE; brelse(bp); |