diff options
Diffstat (limited to 'gdb/ser-bsd.c')
-rw-r--r-- | gdb/ser-bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-bsd.c b/gdb/ser-bsd.c index 45db6cc..befc961 100644 --- a/gdb/ser-bsd.c +++ b/gdb/ser-bsd.c @@ -221,7 +221,7 @@ serial_close() if (desc < 0) return; - serial_restore(desc, oldstate); + serial_restore(desc, &oldstate); close(desc); desc = -1; |