diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-10 22:15:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-10 22:15:32 +0000 |
commit | 6e7ee0bd25e173571105bffae50b3b99b5d51b9a (patch) | |
tree | be0d6f7b137143907b9bf26e9667fcfd74dbcc84 /cpukit/libcsupport | |
parent | 2010-08-09 Bharath Suri <bharath.s.jois@gmail.com> (diff) | |
download | rtems-6e7ee0bd25e173571105bffae50b3b99b5d51b9a.tar.bz2 |
2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>
PR 1662/filesystem
* libcsupport/src/termios.c: osem is now released before attempt
to delete in rtems_termios_close.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 0193c7ccc7..4085c5e4a2 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -382,6 +382,7 @@ rtems_termios_close (void *arg) rtems_fatal_error_occurred (sc); } drainOutput (tty); + rtems_semaphore_release (tty->osem); } if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) { |