diff options
author | Jason Evans <jasone@canonware.com> | 2013-12-12 23:14:51 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2013-12-12 23:14:51 (GMT) |
commit | a2be4779b19a491a5686cfda067f98d7d70a9056 (patch) | |
tree | ca56f0f27e36b295b13a1d29a705490f20dd2d01 | |
parent | dfecadf4b28da0d582357b5a5180b1cc8d57c748 (diff) | |
download | jemalloc-a2be4779b19a491a5686cfda067f98d7d70a9056.zip jemalloc-a2be4779b19a491a5686cfda067f98d7d70a9056.tar.gz jemalloc-a2be4779b19a491a5686cfda067f98d7d70a9056.tar.bz2 |
Fix a malloc_mutex dependency in mtx.
-rw-r--r-- | test/src/mtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/mtx.c b/test/src/mtx.c index 8d9e0ca..41b95d5 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); |