summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-10-16 20:58:22 +0000
committerphk <phk@FreeBSD.org>2005-10-16 20:58:22 +0000
commit10f4dbda56eef05d130579ac3b175bce17cc99ea (patch)
tree9928459e7f4fce705aea79e7aea62e83233a0f61 /sys/kern
parent9f01990d4c8092e63ca74a8adcc926a8e143904c (diff)
downloadFreeBSD-src-10f4dbda56eef05d130579ac3b175bce17cc99ea.zip
FreeBSD-src-10f4dbda56eef05d130579ac3b175bce17cc99ea.tar.gz
Make ttyconsolemode() call ttsetwater() so that drivers don't have to.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 62e3028..6e2b2de 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -3414,6 +3414,7 @@ ttyconsolemode(struct tty *tp, int speed)
tp->t_lock_in.c_ispeed = tp->t_lock_in.c_ospeed = speed;
tp->t_init_out = tp->t_init_in;
tp->t_termios = tp->t_init_in;
+ ttsetwater(tp);
}
/*
OpenPOWER on IntegriCloud