From: Michael Sokolov Date: Tue, 6 Feb 2001 21:39:46 +0000 (+0000) Subject: * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=64122a8ba798d3c71a973efc12a160bfc2c8e706;p=deliverable%2Fbinutils-gdb.git * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call fprintf_filtered with correct arguments. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 168b63a6af..18fd5a2708 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-02-06 Michael Sokolov + + * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call + fprintf_filtered with correct arguments. + 2001-02-06 Michael Snyder Submitted by Paul Hilfinger (hilfingr@gnat.com) and Andrei Petrov (and@genesyslab.com). diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c index 381bf33d52..6f73f2c515 100644 --- a/gdb/ser-unix.c +++ b/gdb/ser-unix.c @@ -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++)