-/* $OpenBSD: virtio_pci.c,v 1.7 2013/09/22 09:58:46 sf Exp $ */
+/* $OpenBSD: virtio_pci.c,v 1.8 2014/12/15 20:15:48 brad Exp $ */
/* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */
/*
goto fail_1;
}
- if (pci_intr_map_msi(pa, &ih) != 0 && pci_intr_map(pa, &ih)) {
+ if (pci_intr_map_msi(pa, &ih) != 0 && pci_intr_map(pa, &ih) != 0) {
printf("%s: couldn't map interrupt\n", vsc->sc_dev.dv_xname);
goto fail_2;
}