summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-12-06 10:19:03 +0000
committerphk <phk@FreeBSD.org>1999-12-06 10:19:03 +0000
commitc9bb2498127a16c9c6ec0a3beb4fe38e1dac553d (patch)
tree2f48e27d3772aab92df9e8cafb76caf74fcda5e4 /sys/pc98
parent9a18815d02da06b9adc7c9174aedf8cf29f45226 (diff)
downloadFreeBSD-src-c9bb2498127a16c9c6ec0a3beb4fe38e1dac553d.zip
FreeBSD-src-c9bb2498127a16c9c6ec0a3beb4fe38e1dac553d.tar.gz
Remove DSO_BAD144 from wd driver(s) so people with bad144'ed disks get
a bit of warning.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/wd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c
index 6d26b0e..aa9d0c7 100644
--- a/sys/pc98/pc98/wd.c
+++ b/sys/pc98/pc98/wd.c
@@ -1337,7 +1337,7 @@ wdopen(dev_t dev, int flags, int fmt, struct proc *p)
label.d_ncylinders = du->dk_dd.d_ncylinders;
label.d_secpercyl = du->dk_dd.d_secpercyl;
label.d_secperunit = du->dk_dd.d_secperunit;
- error = dsopen(dev, fmt, DSO_BAD144, &du->dk_slices, &label);
+ error = dsopen(dev, fmt, 0, &du->dk_slices, &label);
}
du->dk_flags &= ~DKFL_LABELLING;
wdsleep(du->dk_ctrlr, "wdopn2");
OpenPOWER on IntegriCloud