From 64122a8ba798d3c71a973efc12a160bfc2c8e706 Mon Sep 17 00:00:00 2001 From: Michael Sokolov Date: Tue, 6 Feb 2001 21:39:46 +0000 Subject: [PATCH] * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call fprintf_filtered with correct arguments. --- gdb/ChangeLog | 5 +++++ gdb/ser-unix.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 168b63a..18fd5a2 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 381bf33..6f73f2c 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++) -- 2.7.4