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

This commit is contained in:
Andrey A. Chernov 1995-07-23 02:30:44 +00:00
parent d4cd186f62
commit 9aa70e27a7

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