diff options
author | phk <phk@FreeBSD.org> | 2005-10-16 20:58:22 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-10-16 20:58:22 +0000 |
commit | 10f4dbda56eef05d130579ac3b175bce17cc99ea (patch) | |
tree | 9928459e7f4fce705aea79e7aea62e83233a0f61 /sys/kern | |
parent | 9f01990d4c8092e63ca74a8adcc926a8e143904c (diff) | |
download | FreeBSD-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.c | 1 |
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); } /* |