s/MALLOC_MUTEX_RANK_OMIT/WITNESS_RANK_OMIT/
This fixes a compilation error caused by
b2c0d6322d
(Add witness, a simple online
locking validator.).
This resolves #375.
This commit is contained in:
parent
a15841cc7d
commit
2288424325
@ -104,7 +104,7 @@ mb_write(void)
|
|||||||
{
|
{
|
||||||
malloc_mutex_t mtx;
|
malloc_mutex_t mtx;
|
||||||
|
|
||||||
malloc_mutex_init(&mtx, MALLOC_MUTEX_RANK_OMIT);
|
malloc_mutex_init(&mtx, WITNESS_RANK_OMIT);
|
||||||
malloc_mutex_lock(NULL, &mtx);
|
malloc_mutex_lock(NULL, &mtx);
|
||||||
malloc_mutex_unlock(NULL, &mtx);
|
malloc_mutex_unlock(NULL, &mtx);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user