diff options
| author | ShengYi Hung <aokblast@FreeBSD.org> | 2026-10-06 23:08:42 +0000 |
|---|---|---|
| committer | ShengYi Hung <aokblast@FreeBSD.org> | 2026-10-07 01:26:11 +0000 |
| commit | 192781bf5d047cceff3a1947bfc754c8b5eb0835 (patch) | |
| tree | fa10b88ba5a6e9c301a462ec12cd47f828603b88 | |
| parent | 657c089950a0388811c7ba3f6d3e7127c297864e (diff) | |
MFC after: 2 weeks
| -rw-r--r-- | lib/libthr/thread/thr_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index 32bdc4afe65f..82da8ab1ccba 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -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 |
