Fix degenerate mb_write() compilation error.

This resolves #375.
This commit is contained in:
Jason Evans 2016-04-22 21:27:17 -07:00
parent 19ff2cefba
commit 71d94828a2

View File

@ -104,7 +104,7 @@ mb_write(void)
{ {
malloc_mutex_t mtx; malloc_mutex_t mtx;
malloc_mutex_init(&mtx, WITNESS_RANK_OMIT); malloc_mutex_init(&mtx, "mb", WITNESS_RANK_OMIT);
malloc_mutex_lock(NULL, &mtx); malloc_mutex_lock(NULL, &mtx);
malloc_mutex_unlock(NULL, &mtx); malloc_mutex_unlock(NULL, &mtx);
} }