From 885aebae37e0ce1fcf880cb43a1286e5108d07ac Mon Sep 17 00:00:00 2001 From: kato Date: Wed, 18 Oct 2000 15:28:10 +0000 Subject: [PATCH] Converted `da' and `wd' into `rda' and `rwd', respectively. Submitted by: MURAMATSU Atsushi --- sys/pc98/pc98/diskslice_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/pc98/pc98/diskslice_machdep.c b/sys/pc98/pc98/diskslice_machdep.c index 2f9dec67e18..027549be332 100644 --- a/sys/pc98/pc98/diskslice_machdep.c +++ b/sys/pc98/pc98/diskslice_machdep.c @@ -321,8 +321,8 @@ dsinit(dev, lp, sspp) */ if (((cp[4] != 'I') || (cp[5] != 'P') || (cp[6] != 'L') || (cp[7] != '1')) && - ((strncmp(devtoname(bp->b_dev), "da", 2) == 0) || - (strncmp(devtoname(bp->b_dev), "wd", 2) == 0))) { + ((strncmp(devtoname(bp->b_dev), "rda", 3) == 0) || + (strncmp(devtoname(bp->b_dev), "rwd", 3) == 0))) { /* IBM-PC HDD */ bp->b_flags |= B_INVAL | B_AGE; brelse(bp); -- 2.45.2