summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-07-23 02:30:44 +0000
committerache <ache@FreeBSD.org>1995-07-23 02:30:44 +0000
commit21228926661d88836edf8b606f9cfe45ec556363 (patch)
tree6ec9a5fd7b24b353ede2704b7964c9c1803cfd0e /libexec
parent44a8fd1e3c407412b8f8b82776f272b3166ff94d (diff)
downloadFreeBSD-src-21228926661d88836edf8b606f9cfe45ec556363.zip
FreeBSD-src-21228926661d88836edf8b606f9cfe45ec556363.tar.gz
Change hardcoded 15 (which means 38400) to B115200 which is 17
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/subr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index 0223863..6e4f5f0 100644
--- a/libexec/getty/subr.c
+++ b/libexec/getty/subr.c
@@ -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++)
OpenPOWER on IntegriCloud