diff options
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 2 |
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; } |