aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sokolov <msokolov@ivan.harhan.org>2001-02-06 21:39:46 +0000
committerMichael Sokolov <msokolov@ivan.harhan.org>2001-02-06 21:39:46 +0000
commit64122a8ba798d3c71a973efc12a160bfc2c8e706 (patch)
tree547baab250a48a784566c8373014967ba251d9d1
parente6cbd02ac2c4dd07c92d152b10c03c7bb24aec2b (diff)
downloadgdb-64122a8ba798d3c71a973efc12a160bfc2c8e706.zip
gdb-64122a8ba798d3c71a973efc12a160bfc2c8e706.tar.gz
gdb-64122a8ba798d3c71a973efc12a160bfc2c8e706.tar.bz2
* ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
fprintf_filtered with correct arguments.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ser-unix.c2
2 files changed, 6 insertions, 1 deletions
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 <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).
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++)