summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/support/hazard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/support/hazard.c')
-rw-r--r--src/third_party/wiredtiger/src/support/hazard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/support/hazard.c b/src/third_party/wiredtiger/src/support/hazard.c
index 45580b7d0cc..336ee99c27c 100644
--- a/src/third_party/wiredtiger/src/support/hazard.c
+++ b/src/third_party/wiredtiger/src/support/hazard.c
@@ -210,7 +210,7 @@ __wt_hazard_clear(WT_SESSION_IMPL *session, WT_REF *ref)
* A serious error, we should always find the hazard pointer. Panic, because using a page we
* didn't have pinned down implies corruption.
*/
- WT_PANIC_RET(session, EINVAL, "session %p: clear hazard pointer: %p: not found",
+ WT_RET_PANIC(session, EINVAL, "session %p: clear hazard pointer: %p: not found",
(void *)session, (void *)ref);
}