diff options
author | Christian Brueffer <brueffer@FreeBSD.org> | 2009-05-14 13:32:33 +0000 |
---|---|---|
committer | Christian Brueffer <brueffer@FreeBSD.org> | 2009-05-14 13:32:33 +0000 |
commit | 3af3ff479b5731a6bd0b47468c57404b9bf17066 (patch) | |
tree | f474a0fd07367c412d290fa35ab6de57c5ddf848 /sys/dev/iir | |
parent | 54d83191b0208450d8cff148cf093d229a698953 (diff) | |
download | src-test2-3af3ff479b5731a6bd0b47468c57404b9bf17066.tar.gz src-test2-3af3ff479b5731a6bd0b47468c57404b9bf17066.zip |
Notes
Diffstat (limited to 'sys/dev/iir')
-rw-r--r-- | sys/dev/iir/iir_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iir/iir_pci.c b/sys/dev/iir/iir_pci.c index 528b7d71ef95..c75f084b796e 100644 --- a/sys/dev/iir/iir_pci.c +++ b/sys/dev/iir/iir_pci.c @@ -202,7 +202,7 @@ iir_pci_attach(device_t dev) rid = 0; irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE | RF_SHAREABLE); - if (io == NULL) { + if (irq == NULL) { device_printf(dev, "can't find IRQ value\n"); error = ENOMEM; goto err; |