diff options
author | Miles Bader <miles@gnu.org> | 1996-01-18 23:57:32 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-01-18 23:57:32 +0000 |
commit | 77739766f6e858a439e99489711295cf2e7c5e93 (patch) | |
tree | 8ffcd8b1f44548151d743b19bd1facf02a09d9d7 /term | |
parent | 255794d615d8b722678b22442c70467106100025 (diff) |
(main): Set PEERCNTL to &PTYCTL if we're a slave, not 0.
Diffstat (limited to 'term')
-rw-r--r-- | term/main.c | 2 |
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 { |