summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2020-06-06 21:40:55 +0300
committerHristo Venev <hristo@venev.name>2020-06-06 21:40:55 +0300
commit9efc4bdaca80e791e8a142bccf1f557975d5d022 (patch)
tree8f198b43da17997241752205c7c8486d772e1dcb
parent1d4fc8e1a312f0c7103b2faa914a173c8581763d (diff)
Print prettier time.
-rw-r--r--vc-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vc-log.c b/vc-log.c
index 7526db2..56ce5ef 100644
--- a/vc-log.c
+++ b/vc-log.c
@@ -219,7 +219,7 @@ static void vc_log_read(size_t descriptor_ptr) {
if(!s) abort();
vc_read(s, at + 12, len);
s[len] = 0;
- printf("[%u : %u] %s\n", time, seq, s);
+ printf("[%5u.%06u] %s\n", time / 1000000, time % 1000000, s);
free(s);
at += size;