summaryrefslogtreecommitdiff
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-07-21 13:56:29 +0000
committerBruce Evans <bde@FreeBSD.org>1995-07-21 13:56:29 +0000
commita2a072b5421b177eacea632c2891de442db78529 (patch)
tree3ae15dcc94035c6d0b7ad4c23d0ee3f5c5418c63 /sys/kern/tty.c
parentdd77c4bc5411acb1609f98b4e1bf67cc5c429289 (diff)
Notes
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index e94ffd7094b0..78eb1cf25233 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.47 1995/06/23 21:20:10 ache Exp $
+ * $Id: tty.c,v 1.48 1995/06/24 16:28:20 ache Exp $
*/
#include "snp.h"
@@ -1992,7 +1992,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')) ||
+ (c != '\n' || !ISSET(tp->t_lflag, ECHONL))) ||
ISSET(tp->t_lflag, EXTPROC))
return;
if (ISSET(tp->t_lflag, ECHOCTL) &&