Use the correct variable to index into the 'lirq[]' array to check the legacy

IRQ ownership.
This commit is contained in:
Neel Natu 2012-08-04 04:26:17 +00:00
parent 6459496b69
commit 308f907720
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bhyve/; revision=239029

View File

@ -808,7 +808,7 @@ pci_lintr_alloc(struct pci_devinst *pi, int vec)
}
}
} else {
if (lirq[i].li_owner != NULL) {
if (lirq[vec].li_owner != NULL) {
vec = -1;
}
}