summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-07-20 07:29:54 +0000
committerphk <phk@FreeBSD.org>1999-07-20 07:29:54 +0000
commit5b72ec05503294452e41f9d4cf0662ce6859d611 (patch)
tree510fd0bf245aa692379adaacddf49e8b0f527e2e
parent99ba1a1d7605c98e71c76b922e08186754d07739 (diff)
downloadFreeBSD-src-5b72ec05503294452e41f9d4cf0662ce6859d611.zip
FreeBSD-src-5b72ec05503294452e41f9d4cf0662ce6859d611.tar.gz
use vp->v_rdev;
OK'ed by: grog
-rw-r--r--sys/dev/vinum/vinumio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c
index 2fc5544..d2242f3 100644
--- a/sys/dev/vinum/vinumio.c
+++ b/sys/dev/vinum/vinumio.c
@@ -33,7 +33,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinumio.c,v 1.24 1999/03/23 02:00:52 grog Exp grog $
+ * $Id: vinumio.c,v 1.31 1999/06/29 04:08:51 grog Exp $
*/
#include <dev/vinum/vinumhdr.h>
@@ -272,7 +272,7 @@ driveio(struct drive *drive, char *buf, size_t length, off_t offset, int flag)
bp = geteblk(len); /* get a buffer header */
bp->b_flags = flag;
- bp->b_dev = drive->vp->v_un.vu_specinfo->si_rdev; /* device */
+ bp->b_dev = drive->vp->v_rdev; /* device */
bp->b_blkno = offset / drive->partinfo.disklab->d_secsize; /* block number */
bp->b_data = buf;
bp->b_bcount = len;
OpenPOWER on IntegriCloud