diff options
Diffstat (limited to 'nuttx/lib/misc/lib_streamsem.c')
-rw-r--r-- | nuttx/lib/misc/lib_streamsem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/misc/lib_streamsem.c b/nuttx/lib/misc/lib_streamsem.c index 5ab4135bb..a8610382e 100644 --- a/nuttx/lib/misc/lib_streamsem.c +++ b/nuttx/lib/misc/lib_streamsem.c @@ -78,7 +78,7 @@ void stream_semtake(FAR struct streamlist *list) * the wait was awakened by a signal. */ - ASSERT(*get_errno_ptr() == EINTR); + ASSERT(get_errno() == EINTR); } } |