summaryrefslogtreecommitdiff
path: root/src/conn/conn_ckpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn/conn_ckpt.c')
-rw-r--r--src/conn/conn_ckpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn/conn_ckpt.c b/src/conn/conn_ckpt.c
index 8f039e61654..b47e2550b23 100644
--- a/src/conn/conn_ckpt.c
+++ b/src/conn/conn_ckpt.c
@@ -31,7 +31,7 @@ __ckpt_server_config(WT_SESSION_IMPL *session, const char **cfg, bool *startp)
* Checkpoints based on log size also require logging be enabled.
*/
WT_RET(__wt_config_gets(session, cfg, "checkpoint.wait", &cval));
- conn->ckpt_usecs = (uint64_t)cval.val * 1000000;
+ conn->ckpt_usecs = (uint64_t)cval.val * WT_MILLION;
WT_RET(__wt_config_gets(session, cfg, "checkpoint.log_size", &cval));
conn->ckpt_logsize = (wt_off_t)cval.val;