diff options
author | phk <phk@FreeBSD.org> | 1994-10-08 22:33:43 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-10-08 22:33:43 +0000 |
commit | 5f8e9e2c4d13d1f7ed189dafbc94bc8249ea92d3 (patch) | |
tree | e5527fef7cff3867d5d2f50e4850408375ec30bd /sys/kern/tty.c | |
parent | ce7e00f64f45929495ce709370ed004d2369b594 (diff) | |
download | FreeBSD-src-5f8e9e2c4d13d1f7ed189dafbc94bc8249ea92d3.zip FreeBSD-src-5f8e9e2c4d13d1f7ed189dafbc94bc8249ea92d3.tar.gz |
Cosmetics: added ()'s and fixed prinf-formats to make gcc silent.
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index c07d6df..fb45cb9 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)tty.c 8.8 (Berkeley) 1/21/94 - * $Id: tty.c,v 1.8 1994/10/03 01:12:18 ache Exp $ + * $Id: tty.c,v 1.9 1994/10/06 21:06:34 davidg Exp $ */ #include <sys/param.h> @@ -1274,7 +1274,7 @@ loop: goto read; carrier = ISSET(tp->t_state, TS_CARR_ON) || ISSET(tp->t_cflag, CLOCAL); - if (!carrier && ISSET(tp->t_state, TS_ISOPEN) || + if ((!carrier && ISSET(tp->t_state, TS_ISOPEN)) || !ISSET(lflag, ICANON) && cc[VMIN] == 0) { splx(s); return (0); |