Replace wrong ospeed setting (overflows) with new _set_ospeed
function.
This commit is contained in:
parent
3c0ba277d4
commit
044e7914e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9892
@ -165,7 +165,7 @@ raw_mode(on)
|
||||
#if TERMIO
|
||||
ospeed = s.c_cflag & CBAUD;
|
||||
#else
|
||||
ospeed = cfgetospeed(&s);
|
||||
_set_ospeed(cfgetospeed(&s));
|
||||
#endif
|
||||
erase_char = s.c_cc[VERASE];
|
||||
kill_char = s.c_cc[VKILL];
|
||||
|
Loading…
Reference in New Issue
Block a user