diff options
Diffstat (limited to 'nuttx/sched/sem_post.c')
-rw-r--r-- | nuttx/sched/sem_post.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sem_post.c b/nuttx/sched/sem_post.c index 3b4fac368..857b20def 100644 --- a/nuttx/sched/sem_post.c +++ b/nuttx/sched/sem_post.c @@ -139,7 +139,7 @@ int sem_post(sem_t *sem) */ for (stcb = (FAR _TCB*)g_waitingforsemaphore.head; - ((stcb) && (stcb->waitsem != sem)); + (stcb && stcb->waitsem != sem); stcb = stcb->flink); if (stcb) |