summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2012-11-05 17:38:41 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2012-11-05 17:38:41 +1100
commit9fc4aef0d4ee062d62333a90e1311f8f7248a59d (patch)
tree2bab911317149237d6938c7405fd32f657ae5ffa
parent0c985c17488f9f20bf27b7622b306b378fc46e8b (diff)
downloadmongo-9fc4aef0d4ee062d62333a90e1311f8f7248a59d.tar.gz
Fix compiler error introduced in previous commit.
-rw-r--r--src/conn/cache_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn/cache_pool.c b/src/conn/cache_pool.c
index e1e25d12dd0..86358daf988 100644
--- a/src/conn/cache_pool.c
+++ b/src/conn/cache_pool.c
@@ -101,7 +101,7 @@ __wt_conn_cache_pool_config(WT_SESSION_IMPL *session, const char **cfg)
__wt_spin_unlock(conn->default_session, &__wt_process.spinlock);
process_locked = 0;
/* Add this connection into the cache pool connection queue. */
- WT_ERR(__wt_calloc_def(conn->default_session, &entry));
+ WT_ERR(__wt_calloc_def(conn->default_session, 1, &entry));
entry->conn = conn;
entry->active = 1;