From a2be4779b19a491a5686cfda067f98d7d70a9056 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Thu, 12 Dec 2013 15:14:51 -0800 Subject: [PATCH] Fix a malloc_mutex dependency in mtx. --- test/src/mtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/mtx.c b/test/src/mtx.c index 8d9e0ca1..41b95d59 100644 --- a/test/src/mtx.c +++ b/test/src/mtx.c @@ -14,7 +14,7 @@ mtx_init(mtx_t *mtx) if (pthread_mutexattr_init(&attr) != 0) return (true); - pthread_mutexattr_settype(&attr, MALLOC_MUTEX_TYPE); + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_DEFAULT); if (pthread_mutex_init(&mtx->lock, &attr) != 0) { pthread_mutexattr_destroy(&attr); return (true);