From 77739766f6e858a439e99489711295cf2e7c5e93 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 18 Jan 1996 23:57:32 +0000 Subject: (main): Set PEERCNTL to &PTYCTL if we're a slave, not 0. --- term/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term') 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 { -- cgit v1.2.3