# HG changeset patch # User Jim Blandy # Date 721121796 0 # Node ID d978f163d9a44b3232d8a37c8c7abf35291638f1 # Parent 52a69b6a8f96b26902160a7d3343434080e11781 * sysdep.c (init_baud_rate) [HAVE_TERMIO, not HAVE_TCATTR]: Use TCGETA, not TIOCGETP. diff -r 52a69b6a8f96 -r d978f163d9a4 src/sysdep.c --- 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 */