Change hardcoded 15 (which means 38400) to B115200 which is 17
This commit is contained in:
parent
d4cd186f62
commit
9aa70e27a7
@ -47,7 +47,6 @@ static char sccsid[] = "@(#)subr.c 5.10 (Berkeley) 2/26/91";
|
||||
* Melbourne getty.
|
||||
*/
|
||||
#include <sys/param.h>
|
||||
#define USE_OLD_TTY
|
||||
#include <sgtty.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
@ -376,7 +375,7 @@ speed(val)
|
||||
{
|
||||
register struct speedtab *sp;
|
||||
|
||||
if (val <= 15)
|
||||
if (val <= B115200)
|
||||
return (val);
|
||||
|
||||
for (sp = speedtab; sp->speed; sp++)
|
||||
|
Loading…
Reference in New Issue
Block a user