diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/include/mutex.i')
-rw-r--r-- | src/third_party/wiredtiger/src/include/mutex.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/include/mutex.i b/src/third_party/wiredtiger/src/include/mutex.i index e2b08cd088b..a75c421f882 100644 --- a/src/third_party/wiredtiger/src/include/mutex.i +++ b/src/third_party/wiredtiger/src/include/mutex.i @@ -168,7 +168,7 @@ __wt_spin_lock(WT_SESSION_IMPL *session, WT_SPINLOCK *t) WT_DECL_RET; if ((ret = pthread_mutex_lock(&t->lock)) != 0) - WT_PANIC_MSG(session, ret, "pthread_mutex_lock: %s", t->name); + WT_IGNORE_RET(__wt_panic(session, ret, "pthread_mutex_lock: %s", t->name)); } #endif @@ -182,7 +182,7 @@ __wt_spin_unlock(WT_SESSION_IMPL *session, WT_SPINLOCK *t) WT_DECL_RET; if ((ret = pthread_mutex_unlock(&t->lock)) != 0) - WT_PANIC_MSG(session, ret, "pthread_mutex_unlock: %s", t->name); + WT_IGNORE_RET(__wt_panic(session, ret, "pthread_mutex_unlock: %s", t->name)); } #elif SPINLOCK_TYPE == SPINLOCK_MSVC |