aboutsummaryrefslogtreecommitdiffstats
path: root/follow.c
diff options
context:
space:
mode:
Diffstat (limited to 'follow.c')
-rw-r--r--follow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/follow.c b/follow.c
index fe75558..4dba062 100644
--- a/follow.c
+++ b/follow.c
@@ -96,7 +96,7 @@ void set_terminal()
ioctl(0, TIOCGLTC, &ltcsave);
ttyb = ttybsave;
ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO;
- ioctl(tty_read_fd, TIOCSETP, &ttyb);
+ ioctl(0, TIOCSETP, &ttyb);
ltc = ltcsave;
ltc.t_suspc = -1;
ioctl(0, TIOCSLTC, &ltc);