summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common/Logging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/Logging.h b/lib/common/Logging.h
index ce78413e..100d9358 100644
--- a/lib/common/Logging.h
+++ b/lib/common/Logging.h
@@ -146,9 +146,9 @@
#define BOX_FORMAT_MICROSECONDS(t) \
(int)((t) / 1000000) << "." << \
- std::setw(6) << \
+ std::setw(3) << \
std::setfill('0') << \
- (int)((t) % 1000000) << " seconds"
+ (int)((t % 1000000) / 1000) << " seconds"
#undef ERROR