summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1994-02-26 17:13:44 +0000
committermycroft <mycroft@NetBSD.org>1994-02-26 17:13:44 +0000
commit4299a2baec0e246e989e943b92502cba9ea174db (patch)
tree77ad46517a8a02a33b7ee39917cb831fad06d630 /sys/dev
parentaeae0fd5e3b32ffabb911cf095c1d6820a33517a (diff)
Fix typo.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/wd.c4
-rw-r--r--sys/dev/isa/wd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index fb38027b817..94fb8fe3d5a 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.46 1994/02/26 17:10:12 mycroft Exp $
+ * $Id: wd.c,v 1.47 1994/02/26 17:13:44 mycroft Exp $
*/
#define QUIETWORKS /* define this to make wdopen() set DKFL_QUIET */
@@ -642,7 +642,7 @@ wdintr(struct intrframe wdif)
/* is it not a transfer, but a control operation? */
if (du->dk_state < OPEN) {
- wdtab[unit].b_active = 0;
+ wdtab[ctrlr].b_active = 0;
if (wdcontrol(bp))
wdstart(ctrlr);
return;
diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c
index fb38027b817..94fb8fe3d5a 100644
--- a/sys/dev/isa/wd.c
+++ b/sys/dev/isa/wd.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.46 1994/02/26 17:10:12 mycroft Exp $
+ * $Id: wd.c,v 1.47 1994/02/26 17:13:44 mycroft Exp $
*/
#define QUIETWORKS /* define this to make wdopen() set DKFL_QUIET */
@@ -642,7 +642,7 @@ wdintr(struct intrframe wdif)
/* is it not a transfer, but a control operation? */
if (du->dk_state < OPEN) {
- wdtab[unit].b_active = 0;
+ wdtab[ctrlr].b_active = 0;
if (wdcontrol(bp))
wdstart(ctrlr);
return;