diff options
Diffstat (limited to 'sys/kern')
-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 9c973a4d860..fee5af84486 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1,4 +1,4 @@ -/* $NetBSD: tty.c,v 1.63 1995/10/10 01:26:57 mycroft Exp $ */ +/* $NetBSD: tty.c,v 1.64 1996/01/10 20:52:27 pk Exp $ */ /*- * Copyright (c) 1982, 1986, 1990, 1991, 1993 @@ -1765,7 +1765,7 @@ ttyecho(c, tp) if (!ISSET(tp->t_state, TS_CNTTB)) CLR(tp->t_lflag, FLUSHO); if ((!ISSET(tp->t_lflag, ECHO) && - (!ISSET(tp->t_lflag, ECHONL) || c == '\n')) || + (!ISSET(tp->t_lflag, ECHONL) || c != '\n')) || ISSET(tp->t_lflag, EXTPROC)) return; if (ISSET(tp->t_lflag, ECHOCTL) && |