summaryrefslogtreecommitdiffstats
path: root/sys/dev/sn/if_sn.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sn/if_sn.c')
-rw-r--r--sys/dev/sn/if_sn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c
index 3845bf3..42da0dd 100644
--- a/sys/dev/sn/if_sn.c
+++ b/sys/dev/sn/if_sn.c
@@ -218,7 +218,8 @@ sn_attach(device_t dev)
* during startup to avoid LORs in the network layer.
*/
if ((err = bus_setup_intr(dev, sc->irq_res,
- INTR_TYPE_NET | INTR_MPSAFE, sn_intr, sc, &sc->intrhand)) != 0) {
+ INTR_TYPE_NET | INTR_MPSAFE, NULL, sn_intr, sc,
+ &sc->intrhand)) != 0) {
sn_detach(dev);
return err;
}
OpenPOWER on IntegriCloud