summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index e749020..4a223ff 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -2594,7 +2594,7 @@ ttymalloc(struct tty *tp)
if (tp)
return(tp);
- tp = malloc(sizeof *tp, M_TTYS, M_WAITOK | M_ZERO);
+ tp = malloc(sizeof *tp, M_TTYS, M_ZERO);
ttyregister(tp);
return (tp);
}
OpenPOWER on IntegriCloud