diff options
author | 2001-08-23 15:26:52 +0000 | |
---|---|---|
committer | 2001-08-23 15:26:52 +0000 | |
commit | 9213b8c2d49b115f3c3d26f453f8e7587bf3acb4 (patch) | |
tree | c8f2957879e7d34a2d6be02adb36893cc3bf04df | |
parent | Allow wd to be root and some cleanup. (diff) | |
download | wireguard-openbsd-9213b8c2d49b115f3c3d26f453f8e7587bf3acb4.tar.xz wireguard-openbsd-9213b8c2d49b115f3c3d26f453f8e7587bf3acb4.zip |
Check for OF_mapintr() failure appears to be backwards; diff mailed to NetBSD.
-rw-r--r-- | sys/arch/sparc64/dev/pci_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/pci_machdep.c b/sys/arch/sparc64/dev/pci_machdep.c index 53e33734932..0c5c826a657 100644 --- a/sys/arch/sparc64/dev/pci_machdep.c +++ b/sys/arch/sparc64/dev/pci_machdep.c @@ -420,7 +420,7 @@ pci_intr_map(pc, tag, pin, line, ihp) } if (OF_mapintr(node, &interrupts, sizeof(interrupts), - sizeof(interrupts)) > 0) { + sizeof(interrupts)) < 0) { printf("OF_mapintr failed\n"); } /* Try to find an IPL for this type of device. */ |