summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_diskmbr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-03-20 12:34:21 +0000
committerphk <phk@FreeBSD.org>2000-03-20 12:34:21 +0000
commit9f5fd263aa62773da05395e7bc5bcdf2e6520635 (patch)
tree52f26e3ab965ba74813a1cf68d6fe90098f99dbb /sys/kern/subr_diskmbr.c
parent806a033cc37a33627b87e1391eed40969b873370 (diff)
downloadFreeBSD-src-9f5fd263aa62773da05395e7bc5bcdf2e6520635.zip
FreeBSD-src-9f5fd263aa62773da05395e7bc5bcdf2e6520635.tar.gz
diff, patch and cvs didn't like these three last time around, try again.
Diffstat (limited to 'sys/kern/subr_diskmbr.c')
-rw-r--r--sys/kern/subr_diskmbr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_diskmbr.c b/sys/kern/subr_diskmbr.c
index 9802d9f..f9e2eba 100644
--- a/sys/kern/subr_diskmbr.c
+++ b/sys/kern/subr_diskmbr.c
@@ -188,7 +188,7 @@ reread_mbr:
bp->b_blkno = mbr_offset;
bp->b_bcount = lp->d_secsize;
bp->b_iocmd = BIO_READ;
- BUF_STRATEGY(bp, 1);
+ DEV_STRATEGY(bp, 1);
if (biowait(bp) != 0) {
diskerr(bp, "reading primary partition table: error",
LOG_PRINTF, 0, (struct disklabel *)NULL);
@@ -404,7 +404,7 @@ mbr_extended(dev, lp, ssp, ext_offset, ext_size, base_ext_offset, nsectors,
bp->b_blkno = ext_offset;
bp->b_bcount = lp->d_secsize;
bp->b_iocmd = BIO_READ;
- BUF_STRATEGY(bp, 1);
+ DEV_STRATEGY(bp, 1);
if (biowait(bp) != 0) {
diskerr(bp, "reading extended partition table: error",
LOG_PRINTF, 0, (struct disklabel *)NULL);
OpenPOWER on IntegriCloud