mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 06:04:28 +08:00
Fix count initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1595 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+2
-1
@@ -99,7 +99,8 @@ static inline FAR struct semholder_s *sem_allocholder(sem_t *sem)
|
||||
|
||||
if (!sem->hlist.holder)
|
||||
{
|
||||
pholder = &sem->hlist;
|
||||
pholder = &sem->hlist;
|
||||
pholder->counts = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user