mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-28 02:09:04 +08:00
libmisc/redirector: Fix unlock on exit from the handler.
This commit is contained in:
@@ -93,7 +93,7 @@ rtems_stdio_redirect_write (rtems_stdio_redirect* sr, const char* buf, ssize_t l
|
||||
if (sr->handler)
|
||||
sr->handler(buf, len);
|
||||
|
||||
return rtems_stdio_redirect_lock(sr);
|
||||
return rtems_stdio_redirect_unlock(sr);
|
||||
}
|
||||
|
||||
static rtems_task
|
||||
|
||||
Reference in New Issue
Block a user