diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-11-10 17:31:11 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-11-10 17:31:11 +0000 |
commit | 52e1708d71c17b6a082a17f7402140f60baebb75 (patch) | |
tree | 19af27a2305f4fc269a01ba385699dcaf419e54b /c/src/exec/libcsupport/src/termios.c | |
parent | Test document. (diff) | |
download | rtems-52e1708d71c17b6a082a17f7402140f60baebb75.tar.bz2 |
Set return code to avoid spurious errors.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/libcsupport/src/termios.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/termios.c b/c/src/exec/libcsupport/src/termios.c index 8d365ae3f0..113157f65f 100644 --- a/c/src/exec/libcsupport/src/termios.c +++ b/c/src/exec/libcsupport/src/termios.c @@ -266,6 +266,7 @@ rtems_termios_close (void *arg) struct rtems_termios_tty *tty = args->iop->data1; rtems_status_code sc; + args->ioctl_return = 0; sc = rtems_semaphore_obtain (ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT); if (sc != RTEMS_SUCCESSFUL) rtems_fatal_error_occurred (sc); |