summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1999-07-22 04:00:43 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1999-07-22 04:00:43 +0000
commit33521384ed050674830d8dd5704807369a378ad0 (patch)
tree7acea2c015c8b3a8eee754d683eeecba1f49324d /sys/dev
parent08cef83f8688a6261687608372fc7e52698e475f (diff)
Fix bad144intern.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/wd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 4a46ea063c1..4235ec4b325 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.2 1999/07/20 03:23:05 csapuntz Exp $ */
+/* $OpenBSD: wd.c,v 1.3 1999/07/22 04:00:42 csapuntz Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -1240,7 +1240,7 @@ void
bad144intern(wd)
struct wd_softc *wd;
{
- struct dkbad *bt = &wd->sc_dk.dk_cpulabel->bad;
+ struct dkbad *bt = &DKBAD(wd->sc_dk.dk_cpulabel);
struct disklabel *lp = wd->sc_dk.dk_label;
int i = 0;