changeset 1570:d978f163d9a4

* sysdep.c (init_baud_rate) [HAVE_TERMIO, not HAVE_TCATTR]: Use TCGETA, not TIOCGETP.
author Jim Blandy <jimb@redhat.com>
date Sat, 07 Nov 1992 07:36:36 +0000
parents 52a69b6a8f96
children ca102ce0c00d
files src/sysdep.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Sat Nov 07 07:36:10 1992 +0000
+++ b/src/sysdep.c	Sat Nov 07 07:36:36 1992 +0000
@@ -278,7 +278,7 @@
 #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 */