summaryrefslogtreecommitdiff
path: root/bench/wtperf/misc.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-01-14 09:35:12 -0500
committerKeith Bostic <keith@wiredtiger.com>2016-01-14 09:35:12 -0500
commit26b8aafe870a1bd0e6f90cf3daf259c94cde1b61 (patch)
treef50ed1ef48aca207293a44421126b3800425a3c2 /bench/wtperf/misc.c
parentf2699e8e83ebc5dcb8c751c1393502a29803d396 (diff)
downloadmongo-26b8aafe870a1bd0e6f90cf3daf259c94cde1b61.tar.gz
WT-2326 - Add dcalloc, dmalloc and dstrdup to wtperf
Replace another calloc call with dcalloc.
Diffstat (limited to 'bench/wtperf/misc.c')
-rw-r--r--bench/wtperf/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/wtperf/misc.c b/bench/wtperf/misc.c
index 93c903b5ab7..bdfd53d5295 100644
--- a/bench/wtperf/misc.c
+++ b/bench/wtperf/misc.c
@@ -40,7 +40,7 @@ setup_log_file(CONFIG *cfg)
if (cfg->verbose < 1)
return (0);
- fname = calloc(strlen(cfg->monitor_dir) +
+ fname = dcalloc(strlen(cfg->monitor_dir) +
strlen(cfg->table_name) + strlen(".stat") + 2, 1);
sprintf(fname, "%s/%s.stat", cfg->monitor_dir, cfg->table_name);