aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1999-01-18 01:24:06 +0000
committerAndrew Cagney <cagney@redhat.com>1999-01-18 01:24:06 +0000
commitc634a08ff819b95a924c7b69d5208d56ac66b3f6 (patch)
treea3cae486ac320e65ab853c656090f9360ef04630 /gdb/serial.c
parent8bdec905f1b143803103ce60255f04fdb916233c (diff)
downloadgdb-c634a08ff819b95a924c7b69d5208d56ac66b3f6.zip
gdb-c634a08ff819b95a924c7b69d5208d56ac66b3f6.tar.gz
gdb-c634a08ff819b95a924c7b69d5208d56ac66b3f6.tar.bz2
HPMERGE:
Pass gdb_stderr instead of stderr. In serial.c, fix call to gdb_fclose() - pass gdb_file** not gdb_file*
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index 7e182cf..ce420ee 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -309,7 +309,7 @@ serial_close (scb, really_close)
serial_current_type = 0;
/* XXX - What if serial_logfp == gdb_stdout or gdb_stderr? */
- gdb_fclose (serial_logfp);
+ gdb_fclose (&serial_logfp);
serial_logfp = NULL;
}