diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c')
-rw-r--r-- | src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c b/src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c index 3a76cceb3f0..479a61db795 100644 --- a/src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c +++ b/src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c @@ -22,7 +22,7 @@ __wt_cond_alloc(WT_SESSION_IMPL *session, * !!! * This function MUST handle a NULL session handle. */ - WT_RET(__wt_calloc(session, 1, sizeof(WT_CONDVAR), &cond)); + WT_RET(__wt_calloc_one(session, &cond)); WT_ERR(pthread_mutex_init(&cond->mtx, NULL)); |