From 8c1801dce9d615749d1bc2a1aaa1150ada47f002 Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Tue, 11 Feb 1997 17:22:46 +0000 Subject: [PATCH] In the disable_slot() routine, the variable "i" was being used without ever being initialized. From examining the rest of the routine, it looks like this is a typo, and it really should have been "1" instead of "i". Submitted by: mpp --- sys/pccard/pccard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index 96cd61f2a33f..17a975738f5d 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -298,7 +298,7 @@ disable_slot(struct slot *sp) INTRUNMASK(*devp->drv->imask,(1<irq)); /* Remove from the PCIC controller imask */ if (sp->ctrl->imask) - INTRUNMASK(*(sp->ctrl->imask), (i<irq)); + INTRUNMASK(*(sp->ctrl->imask), (1<irq)); sp->irq = 0; } splx(s);