* ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
authorMichael Sokolov <msokolov@ivan.harhan.org>
Tue, 6 Feb 2001 21:39:46 +0000 (21:39 +0000)
committerMichael Sokolov <msokolov@ivan.harhan.org>
Tue, 6 Feb 2001 21:39:46 +0000 (21:39 +0000)
fprintf_filtered with correct arguments.

gdb/ChangeLog
gdb/ser-unix.c

index 168b63a..18fd5a2 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-06  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
+       fprintf_filtered with correct arguments.
+
 2001-02-06  Michael Snyder  <msnyder@makita.cygnus.com>
        Submitted by Paul Hilfinger (hilfingr@gnat.com) 
        and Andrei Petrov (and@genesyslab.com).
index 381bf33..6f73f2c 100644 (file)
@@ -267,7 +267,7 @@ hardwire_print_tty_state (serial_t scb,
   fprintf_filtered (stream, "tchars: ");
   for (i = 0; i < (int) sizeof (struct tchars); i++)
     fprintf_filtered (stream, "0x%x ", ((unsigned char *) &state->tc)[i]);
-  fprintf_filtered ("\n");
+  fprintf_filtered (stream, "\n");
 
   fprintf_filtered (stream, "ltchars: ");
   for (i = 0; i < (int) sizeof (struct ltchars); i++)