Don't destroy the slave /dev entry until someone figures out why devfs seems

to behave badly when we do so.
This commit is contained in:
Olivier Houchard 2006-02-02 20:35:45 +00:00
parent fa918e1ef7
commit 56db7f4cc6

View File

@ -180,7 +180,7 @@ static void
pty_maybe_destroy_slave(struct ptsc *pt) 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); pty_destroy_slave(pt);
} }