1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9651

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