aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2006-02-02 20:35:45 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2006-02-02 20:35:45 +0000
commit56db7f4cc636b8ac9d4e4731e6f15356bf990df0 (patch)
tree3a2871cb8b072996268f932c840d9785e06807aa /sys
parentfa918e1ef77e3fa18dfe316f2a803bc53505116c (diff)
Notes
Diffstat (limited to 'sys')
-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 364f2731b815..155b046ac000 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);
}