From a42a7e2f135de36b3ba5571c3178db39df8dc78d Mon Sep 17 00:00:00 2001 From: Benno Rice Date: Wed, 29 Jan 2003 02:43:35 +0000 Subject: [PATCH] Set the termios speed based on the tty speed. This allows consoles to work at speeds other than TTYDEF_SPEED. Approved by: jake --- sys/dev/zs/zs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/zs/zs.c b/sys/dev/zs/zs.c index 9836237fa75b..24e78d316533 100644 --- a/sys/dev/zs/zs.c +++ b/sys/dev/zs/zs.c @@ -487,7 +487,7 @@ zsttyopen(dev_t dev, int flags, int mode, struct thread *td) * sticky bits from TIOCSFLAGS. */ t.c_ispeed = 0; - t.c_ospeed = TTYDEF_SPEED; + t.c_ospeed = tp->t_ospeed; t.c_cflag = TTYDEF_CFLAG; /* Make sure zstty_param() will do something. */ tp->t_ospeed = 0;