summaryrefslogtreecommitdiff
path: root/src/support
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2015-11-18 10:55:58 +1100
committerAlex Gorrod <alexander.gorrod@mongodb.com>2015-11-18 10:55:58 +1100
commite2f11301fe0f877225dbd102aba458b887cd40ee (patch)
tree7ec0dc73dd4378b13ab3d3c1c1957544608d1500 /src/support
parentbe412b524fa55782e4c9029b330c9bdec5706bfe (diff)
parent36a3c15d2939b8bd7693494a9dbafe7f2f1d314d (diff)
downloadmongo-e2f11301fe0f877225dbd102aba458b887cd40ee.tar.gz
Merge pull request #2308 from wiredtiger/wt-2220-wt_timediff
WT-2220 Split WT_TIMEDIFF macro into unit specific macros.
Diffstat (limited to 'src/support')
-rw-r--r--src/support/err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/support/err.c b/src/support/err.c
index c4bf4e8946a..de518cbf08b 100644
--- a/src/support/err.c
+++ b/src/support/err.c
@@ -199,7 +199,8 @@ __wt_eventv(WT_SESSION_IMPL *session, bool msg_event, int error,
remain = WT_PTRDIFF(end, p);
wlen = (size_t)snprintf(p, remain,
"[%" PRIuMAX ":%" PRIuMAX "][%s]",
- (uintmax_t)ts.tv_sec, (uintmax_t)ts.tv_nsec / 1000, tid);
+ (uintmax_t)ts.tv_sec,
+ (uintmax_t)ts.tv_nsec / WT_THOUSAND, tid);
p = wlen >= remain ? end : p + wlen;
prefix_cnt = 1;
}