diff options
author | nate <nate@FreeBSD.org> | 1997-02-11 17:22:46 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-02-11 17:22:46 +0000 |
commit | 7217fae5fedc4e098d7023723ec0bdd923bd674b (patch) | |
tree | 7c76d1026f3fcf8154ffea3a1524e1902271b556 | |
parent | 9df9fb6692f66cd7ecb90130e35ea7c7c07504dd (diff) | |
download | FreeBSD-src-7217fae5fedc4e098d7023723ec0bdd923bd674b.zip FreeBSD-src-7217fae5fedc4e098d7023723ec0bdd923bd674b.tar.gz |
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
-rw-r--r-- | sys/pccard/pccard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index 96cd61f..17a9757 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<<sp->irq)); /* Remove from the PCIC controller imask */ if (sp->ctrl->imask) - INTRUNMASK(*(sp->ctrl->imask), (i<<sp->irq)); + INTRUNMASK(*(sp->ctrl->imask), (1<<sp->irq)); sp->irq = 0; } splx(s); |