options/posix: Fix bug in pthread_mutex_trylock()
@@ -407,10 +407,10 @@ int pthread_mutex_trylock(pthread_mutex_t *mutex) {
++mutex->__mlibc_recursion;
return 0;
}
+ }
return EBUSY;
}
-}
int pthread_mutex_timedlock(pthread_mutex_t *__restrict,
const struct timespec *__restrict) {
