diff options
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 15df71c..f916a1b 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -2903,7 +2903,7 @@ ttycreate(struct tty *tp, struct cdevsw *csw, int unit, int flags, const char *f mtx_assert(&Giant, MA_OWNED); if (tty_unit == NULL) - tty_unit = new_unrhdr(0, 0xffff); + tty_unit = new_unrhdr(0, 0xffff, NULL); sunit = alloc_unr(tty_unit); tp->t_devunit = sunit; |