aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sio/sio_pccard.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sio/sio_pccard.c')
-rw-r--r--sys/dev/sio/sio_pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sio/sio_pccard.c b/sys/dev/sio/sio_pccard.c
index c03c93d305a6..7bdb755d8051 100644
--- a/sys/dev/sio/sio_pccard.c
+++ b/sys/dev/sio/sio_pccard.c
@@ -92,7 +92,7 @@ sio_pccard_attach(device_t dev)
#endif
/* Do not probe IRQ - pccard doesn't turn on the interrupt line */
/* until bus_setup_intr */
- if ((err = sioprobe(dev, 0, 0UL, 1)) != 0)
+ if ((err = sioprobe(dev, 0, 0UL, 1)) > 0)
return (err);
return (sioattach(dev, 0, 0UL));
}