diff options
author | Fred Fish <fnf@specifix.com> | 1992-11-06 01:35:57 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-11-06 01:35:57 +0000 |
commit | 402dca80e7bb6bd2f98d238224a8b34278dbf2ae (patch) | |
tree | 43709a481b1c676b35d01a7821c15d5aefdaf662 /gdb/ser-bsd.c | |
parent | 2352d20bd7521afc2b135b7ecb5d41c55a3e8d69 (diff) | |
download | gdb-402dca80e7bb6bd2f98d238224a8b34278dbf2ae.zip gdb-402dca80e7bb6bd2f98d238224a8b34278dbf2ae.tar.gz gdb-402dca80e7bb6bd2f98d238224a8b34278dbf2ae.tar.bz2 |
* {ser-bsd.c, ser-termios.c} (serial_close): Pass address of
struct, not struct itself.
* serial.h (serial_restore): Fix prototype, takes pointer not
struct.
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; |