diff options
author | Michael Sokolov <msokolov@ivan.harhan.org> | 2001-02-06 21:39:46 +0000 |
---|---|---|
committer | Michael Sokolov <msokolov@ivan.harhan.org> | 2001-02-06 21:39:46 +0000 |
commit | 64122a8ba798d3c71a973efc12a160bfc2c8e706 (patch) | |
tree | 547baab250a48a784566c8373014967ba251d9d1 | |
parent | e6cbd02ac2c4dd07c92d152b10c03c7bb24aec2b (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ser-unix.c | 2 |
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++) |