summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_tap.c')
-rw-r--r--sys/net/if_tap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c
index 9256301..6668d94 100644
--- a/sys/net/if_tap.c
+++ b/sys/net/if_tap.c
@@ -462,7 +462,7 @@ tapcreate(struct cdev *dev)
tp->tap_flags |= TAP_INITED;
mtx_unlock(&tp->tap_mtx);
- knlist_init(&tp->tap_rsel.si_note, NULL, NULL, NULL, NULL);
+ knlist_init_mtx(&tp->tap_rsel.si_note, NULL);
TAPDEBUG("interface %s is created. minor = %#x\n",
ifp->if_xname, dev2unit(dev));
OpenPOWER on IntegriCloud