aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/zs/zs.c2
1 files changed, 1 insertions, 1 deletions
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;