summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 364f273..155b046 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -180,7 +180,7 @@ static void
pty_maybe_destroy_slave(struct ptsc *pt)
{
- if (pt->pt_devc_open == 0 && pt->pt_devs_open == 0)
+ if (0 && pt->pt_devc_open == 0 && pt->pt_devs_open == 0)
pty_destroy_slave(pt);
}
OpenPOWER on IntegriCloud