summaryrefslogtreecommitdiff
path: root/bench/wtperf
diff options
context:
space:
mode:
Diffstat (limited to 'bench/wtperf')
-rw-r--r--bench/wtperf/wtperf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c
index 1eedaba4f32..80416cfdd5c 100644
--- a/bench/wtperf/wtperf.c
+++ b/bench/wtperf/wtperf.c
@@ -2608,8 +2608,8 @@ main(int argc, char *argv[])
append_comma = ",";
}
if (opts->in_memory) {
- pos += (size_t)snprintf(
- cc_buf + pos, req_len - pos, "%s%s",
+ testutil_check(__wt_snprintf_len_incr(
+ cc_buf + pos, req_len - pos, &pos, "%s%s",
append_comma, "in_memory=true");
append_comma = ",";
}