diff options
author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
---|---|---|
committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /bin/stty/key.c | |
parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) |
Diffstat (limited to 'bin/stty/key.c')
-rw-r--r-- | bin/stty/key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c index 6a7aeca935e2..1f7114864058 100644 --- a/bin/stty/key.c +++ b/bin/stty/key.c @@ -276,6 +276,6 @@ f_tty(ip) int tmp; tmp = TTYDISC; - if (ioctl(0, TIOCSETD, &tmp) < 0) + if (ioctl(ip->fd, TIOCSETD, &tmp) < 0) err("TIOCSETD: %s", strerror(errno)); } |