mirror of
https://github.com/apache/nuttx.git
synced 2026-08-29 21:30:44 +00:00
Fix a typo in a debug assertion.
This commit is contained in:
parent
0832b11df0
commit
78cdc9f113
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ int pthread_cancel(pthread_t thread)
|
|||
return ESRCH;
|
||||
}
|
||||
|
||||
DEBUGASSERT((tcb-cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_PTHREAD);
|
||||
DEBUGASSERT((tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_PTHREAD);
|
||||
|
||||
/* Check to see if this thread has the non-cancelable bit set in its
|
||||
* flags. Suppress context changes for a bit so that the flags are stable.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue