summaryrefslogtreecommitdiff
path: root/sys/kern/tty_compat.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-10-08 22:33:43 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-10-08 22:33:43 +0000
commitdcd01eb30512bc7c8d8e846f7f8d134eab53076c (patch)
treee5527fef7cff3867d5d2f50e4850408375ec30bd /sys/kern/tty_compat.c
parent82b695b22de39d944351a952ff6a6c35e35d1d60 (diff)
Notes
Diffstat (limited to 'sys/kern/tty_compat.c')
-rw-r--r--sys/kern/tty_compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c
index a0cea5b65d01..a0752c8fd2d5 100644
--- a/sys/kern/tty_compat.c
+++ b/sys/kern/tty_compat.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_compat.c 8.1 (Berkeley) 6/10/93
- * $Id: tty_compat.c,v 1.3 1994/08/02 07:42:48 davidg Exp $
+ * $Id: tty_compat.c,v 1.4 1994/08/25 10:01:00 bde Exp $
*/
/*
@@ -129,7 +129,7 @@ ttcompat(tp, com, data, flag)
term.c_ospeed = compatspcodes[speed];
term.c_cc[VERASE] = sg->sg_erase;
term.c_cc[VKILL] = sg->sg_kill;
- tp->t_flags = tp->t_flags&0xffff0000 | sg->sg_flags&0xffff;
+ tp->t_flags = (tp->t_flags&0xffff0000) | (sg->sg_flags&0xffff);
ttcompatsetflags(tp, &term);
return (ttioctl(tp, com == TIOCSETP ? TIOCSETAF : TIOCSETA,
&term, flag));