diff options
Diffstat (limited to 'sys/dev/vinum/vinumio.c')
-rw-r--r-- | sys/dev/vinum/vinumio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c index 8913d66..74a3053 100644 --- a/sys/dev/vinum/vinumio.c +++ b/sys/dev/vinum/vinumio.c @@ -304,7 +304,7 @@ driveio(struct drive *drive, char *buf, size_t length, off_t offset, int flag) bp->b_saveaddr = bp->b_data; bp->b_data = buf; bp->b_bcount = len; - BUF_STRATEGY(bp, 0); /* initiate the transfer */ + DEV_STRATEGY(bp, 0); /* initiate the transfer */ error = biowait(bp); bp->b_data = bp->b_saveaddr; bp->b_flags |= B_INVAL | B_AGE; @@ -764,7 +764,7 @@ write_volume_label(int volno) * * Negotiate with phk to get it fixed. */ - BUF_STRATEGY(bp, 0); + DEV_STRATEGY(bp, 0); error = biowait(bp); bp->b_flags |= B_INVAL | B_AGE; bp->b_flags &= ~B_ERROR; |