mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 12:48:33 -10:00
libthr: Consume error in check_and_init_mutex
MFC after: 2 weeks
This commit is contained in:
1 parent
657c089950
commit
192781bf5d
1 file changed
+1
-1
@@ -1136,7 +1136,7 @@ __pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count)
|
||||
ret = check_and_init_mutex(mutex, &m);
|
||||
if (ret == 0)
|
||||
m->m_yieldloops = count;
|
||||
return (0);
|
||||
return (ret);
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in new issue
Block a user