summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index 098108c..d954ac7 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -153,7 +153,7 @@ ptyinit(dev_t devc)
devc->si_flags &= ~SI_CHEAPCLONE;
- pt = malloc(sizeof(*pt), M_PTY, M_WAITOK | M_ZERO);
+ pt = malloc(sizeof(*pt), M_PTY, M_ZERO);
pt->devs = devs = make_dev(&pts_cdevsw, n,
UID_ROOT, GID_WHEEL, 0666, "tty%c%r", names[n / 32], n % 32);
pt->devc = devc;
OpenPOWER on IntegriCloud