diff options
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index de1f891..2025527 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -211,6 +211,7 @@ serial_open (const char *name) scb->bufcnt = 0; scb->bufp = scb->buf; + scb->error_fd = -1; if (scb->ops->open (scb, open_name)) { |