summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
Diffstat (limited to 'term')
-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
{