Getty is missing the speed table entry for 230400 baud.

PR:		7280
Reviewed by:	phk
Submitted by:	Craig Leres <leres@ee.lbl.gov>
This commit is contained in:
Poul-Henning Kamp 1998-07-22 05:57:22 +00:00
parent 02c589d9e9
commit ee98a93f47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37817

View File

@ -36,7 +36,7 @@
static char sccsid[] = "@(#)from: subr.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: subr.c,v 1.13 1997/11/21 07:43:52 charnier Exp $";
#endif /* not lint */
/*
@ -704,6 +704,7 @@ static struct speedtab {
{ 7200, EXTB }, /* alternative */
{ 57600, B57600 },
{ 115200, B115200 },
{ 230400, B230400 },
{ 0 }
};
@ -713,7 +714,7 @@ speed(val)
{
register struct speedtab *sp;
if (val <= B115200)
if (val <= B230400)
return (val);
for (sp = speedtab; sp->speed; sp++)