Change hardcoded 15 (which means 38400) to B115200 which is 17

This commit is contained in:
ache 1995-07-23 02:30:44 +00:00
parent 44a8fd1e3c
commit 2122892666

View File

@ -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++)