From c634a08ff819b95a924c7b69d5208d56ac66b3f6 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 18 Jan 1999 01:24:06 +0000 Subject: HPMERGE: Pass gdb_stderr instead of stderr. In serial.c, fix call to gdb_fclose() - pass gdb_file** not gdb_file* --- gdb/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/serial.c') 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; } -- cgit v1.1