forked from Imagelibrary/rtems
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)
|
if (sr->handler)
|
||||||
sr->handler(buf, len);
|
sr->handler(buf, len);
|
||||||
|
|
||||||
return rtems_stdio_redirect_lock(sr);
|
return rtems_stdio_redirect_unlock(sr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static rtems_task
|
static rtems_task
|
||||||
|
|||||||
Reference in New Issue
Block a user