diff options
Diffstat (limited to 'src/config/config_api.c')
-rw-r--r-- | src/config/config_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/config_api.c b/src/config/config_api.c index 9f70ba65e9b..c1299baaafe 100644 --- a/src/config/config_api.c +++ b/src/config/config_api.c @@ -278,8 +278,8 @@ __wt_configure_method(WT_SESSION_IMPL *session, entry->method = (*epp)->method; len = strlen((*epp)->base) + strlen(",") + strlen(config) + 1; WT_ERR(__wt_calloc_def(session, len, &p)); - snprintf(p, len, "%s,%s", (*epp)->base, config); entry->base = p; + WT_ERR(__wt_snprintf(p, len, "%s,%s", (*epp)->base, config)); /* * There may be a default value in the config argument passed in (for |