Fix a warning found in build testing.
This commit is contained in:
parent
6b66ac0e04
commit
c4d10de565
@ -317,7 +317,7 @@ int nxsig_tcbdispatch(FAR struct tcb_s *stcb, siginfo_t *info)
|
||||
*/
|
||||
|
||||
if (sigismember(&stcb->sigprocmask, info->si_signo) ||
|
||||
(stcb->flags & TCB_FLAG_SYSCALL) != NULL)
|
||||
(stcb->flags & TCB_FLAG_SYSCALL) != 0)
|
||||
{
|
||||
/* Check if the task is waiting for this pending signal. If so, then
|
||||
* unblock it. This must be performed in a critical section because
|
||||
|
Loading…
Reference in New Issue
Block a user