From 2507ce20cd25ebddc13b5fc4897d4f0ec445bbb1 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 7 Nov 1992 07:36:36 +0000 Subject: * sysdep.c (init_baud_rate) [HAVE_TERMIO, not HAVE_TCATTR]: Use TCGETA, not TIOCGETP. --- src/sysdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sysdep.c b/src/sysdep.c index ecacfa8b3d3..7521515e93c 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -278,7 +278,7 @@ init_baud_rate () #ifdef HAVE_TCATTR tcgetattr (0, &sg); #else - ioctl (fd, TIOCGETP, &sg); + ioctl (fd, TCGETA, &sg); #endif ospeed = sg.c_cflag & CBAUD; #else /* neither VMS nor TERMIOS nor TERMIO */ -- cgit v1.2.1