From 70d76c491129af27a2253e8aa7f218a4706cdf21 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 12 Dec 1995 21:28:26 +0000 Subject: Typos. --- term/ptyio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/term/ptyio.c b/term/ptyio.c index 404061eb..29e9052f 100644 --- a/term/ptyio.c +++ b/term/ptyio.c @@ -80,7 +80,7 @@ pty_open_hook (struct trivfs_control *cntl, return EBUSY; } - pty_open = 1; + ptyopen = 1; report_carrier_on (); mutex_unlock (&global_lock); return 0; @@ -100,9 +100,9 @@ pty_po_destroy_hook (struct trivfs_peropen *po) { mutex_lock (&global_lock); nptyperopens--; - if (!nptyperopns) + if (!nptyperopens) { - pty_open = 0; + ptyopen = 0; report_carrier_off (); } mutex_unlock (&global_lock); -- cgit v1.2.3