summaryrefslogtreecommitdiff
path: root/bench/wtperf/track.c
diff options
context:
space:
mode:
Diffstat (limited to 'bench/wtperf/track.c')
-rw-r--r--bench/wtperf/track.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/wtperf/track.c b/bench/wtperf/track.c
index 822bdaa4b4a..86a26120a6a 100644
--- a/bench/wtperf/track.c
+++ b/bench/wtperf/track.c
@@ -288,8 +288,8 @@ latency_print_single(WTPERF *wtperf, TRACK *total, const char *name)
uint64_t cumops;
char path[1024];
- snprintf(path, sizeof(path),
- "%s/latency.%s", wtperf->monitor_dir, name);
+ testutil_check(__wt_snprintf(path, sizeof(path),
+ "%s/latency.%s", wtperf->monitor_dir, name));
if ((fp = fopen(path, "w")) == NULL) {
lprintf(wtperf, errno, 0, "%s", path);
return;