summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Brueffer <brueffer@FreeBSD.org>2009-05-14 13:32:33 +0000
committerChristian Brueffer <brueffer@FreeBSD.org>2009-05-14 13:32:33 +0000
commit3af3ff479b5731a6bd0b47468c57404b9bf17066 (patch)
treef474a0fd07367c412d290fa35ab6de57c5ddf848
parent54d83191b0208450d8cff148cf093d229a698953 (diff)
downloadsrc-test2-3af3ff479b5731a6bd0b47468c57404b9bf17066.tar.gz
src-test2-3af3ff479b5731a6bd0b47468c57404b9bf17066.zip
Notes
-rw-r--r--sys/dev/iir/iir_pci.c2
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;