summaryrefslogtreecommitdiff
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorSuleiman Souhlal <ssouhlal@FreeBSD.org>2005-07-01 16:28:32 +0000
committerSuleiman Souhlal <ssouhlal@FreeBSD.org>2005-07-01 16:28:32 +0000
commit571dcd15e24b65783f9a5063cf81b9cc95449ffe (patch)
treec6d52b2fecc4fcf947f2ca3718ee85b3a7aaeff0 /sys/kern/tty.c
parent5af5f40c7555dcdf008903bfabcb8b5783de6512 (diff)
Notes
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 8a6585b20bdb..62634321a723 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -2865,8 +2865,8 @@ ttymalloc(struct tty *tp)
mtx_lock(&tty_list_mutex);
TAILQ_INSERT_TAIL(&tty_list, tp, t_list);
mtx_unlock(&tty_list_mutex);
- knlist_init(&tp->t_rsel.si_note, &tp->t_mtx);
- knlist_init(&tp->t_wsel.si_note, &tp->t_mtx);
+ knlist_init(&tp->t_rsel.si_note, &tp->t_mtx, NULL, NULL, NULL);
+ knlist_init(&tp->t_wsel.si_note, &tp->t_mtx, NULL, NULL, NULL);
return (tp);
}