diff --git a/core/lock.c b/core/lock.c index d44e0d13..8a8e113f 100644 --- a/core/lock.c +++ b/core/lock.c @@ -99,7 +99,7 @@ retry: exit(1); } if (uwsgi_pthread_robust_mutexes_enabled) { - if (pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_NP)) { + if (pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST)) { uwsgi_log("unable to make the mutex 'robust'\n"); exit(1); }