summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_compat.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-10-08 22:33:43 +0000
committerphk <phk@FreeBSD.org>1994-10-08 22:33:43 +0000
commit5f8e9e2c4d13d1f7ed189dafbc94bc8249ea92d3 (patch)
treee5527fef7cff3867d5d2f50e4850408375ec30bd /sys/kern/tty_compat.c
parentce7e00f64f45929495ce709370ed004d2369b594 (diff)
downloadFreeBSD-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_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 a0cea5b..a0752c8 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));
OpenPOWER on IntegriCloud