summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-08-23 19:21:15 +0000
committerderaadt <deraadt@openbsd.org>2003-08-23 19:21:15 +0000
commit938527f249335a1015b06498c7d05a8032c87c90 (patch)
treef6a35d24e1c625781fba519296fa3f46b03fd446 /sys/kern/tty.c
parentswitch to ether_input_mbuf; krw@ testing and ok. (diff)
downloadwireguard-openbsd-938527f249335a1015b06498c7d05a8032c87c90.tar.xz
wireguard-openbsd-938527f249335a1015b06498c7d05a8032c87c90.zip
knf
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index bc808a570e5..924b686d74a 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.59 2003/08/15 20:32:18 tedu Exp $ */
+/* $OpenBSD: tty.c,v 1.60 2003/08/23 19:21:15 deraadt Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@ -1175,8 +1175,8 @@ ttywait(tp)
error = 0;
s = spltty();
while ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) &&
- (ISSET(tp->t_state, TS_CARR_ON) || ISSET(tp->t_cflag, CLOCAL))
- && tp->t_oproc) {
+ (ISSET(tp->t_state, TS_CARR_ON) || ISSET(tp->t_cflag, CLOCAL)) &&
+ tp->t_oproc) {
(*tp->t_oproc)(tp);
if ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) &&
(ISSET(tp->t_state, TS_CARR_ON) || ISSET(tp->t_cflag, CLOCAL))