summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-18 23:57:32 +0000
committerMiles Bader <miles@gnu.org>1996-01-18 23:57:32 +0000
commit77739766f6e858a439e99489711295cf2e7c5e93 (patch)
tree8ffcd8b1f44548151d743b19bd1facf02a09d9d7
parent255794d615d8b722678b22442c70467106100025 (diff)
(main): Set PEERCNTL to &PTYCTL if we're a slave, not 0.
-rw-r--r--term/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term/main.c b/term/main.c
index 02679ff8..02c031b7 100644
--- a/term/main.c
+++ b/term/main.c
@@ -117,7 +117,7 @@ main (int argc, char **argv)
ourcntl = &termctl;
peerclass = pty_class;
peercntlclass = pty_cntl_class;
- peercntl = 0;
+ peercntl = &ptyctl;
}
else
{