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