summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-12 21:28:26 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-12 21:28:26 +0000
commit70d76c491129af27a2253e8aa7f218a4706cdf21 (patch)
tree7245f728dcf120092b2a725befb55fff509a8170
parent04a0fbbcf4a012bbdf7fac45a32af7ce8252c966 (diff)
Typos.
-rw-r--r--term/ptyio.c6
1 files 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);