diff options
author | Alex Gorrod <alexander.gorrod@mongodb.com> | 2015-11-18 10:55:58 +1100 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2015-11-18 10:55:58 +1100 |
commit | e2f11301fe0f877225dbd102aba458b887cd40ee (patch) | |
tree | 7ec0dc73dd4378b13ab3d3c1c1957544608d1500 /src/support | |
parent | be412b524fa55782e4c9029b330c9bdec5706bfe (diff) | |
parent | 36a3c15d2939b8bd7693494a9dbafe7f2f1d314d (diff) | |
download | mongo-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.c | 3 |
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; } |