diff options
-rw-r--r-- | sys/dev/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 40e3b0c..e14dc93 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1969,7 +1969,7 @@ pci_alloc_msi_method(device_t dev, device_t child, int *count) for (;;) { /* Try to allocate N messages. */ error = PCIB_ALLOC_MSI(device_get_parent(dev), child, actual, - cfg->msi.msi_msgnum, irqs); + actual, irqs); if (error == 0) break; if (actual == 1) |