summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/getty/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 03ae7bb..3edf338 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -39,7 +39,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
-static char rcsid[] = "$Id: main.c,v 1.1.1.2 1996/04/13 15:33:11 joerg Exp $";
+static char rcsid[] = "$Id: main.c,v 1.9 1996/05/05 19:01:10 joerg Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -284,7 +284,8 @@ main(argc, argv)
if (IM && *IM)
putf(IM);
if (setjmp(timeout)) {
- tmode.c_ispeed = tmode.c_ospeed = 0;
+ cfsetispeed(&tmode, B0);
+ cfsetospeed(&tmode, B0);
(void)tcsetattr(0, TCSANOW, &tmode);
exit(1);
}
OpenPOWER on IntegriCloud