diff options
author | Hristo Venev <hristo@venev.name> | 2020-06-06 21:40:55 +0300 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2020-06-06 21:40:55 +0300 |
commit | 9efc4bdaca80e791e8a142bccf1f557975d5d022 (patch) | |
tree | 8f198b43da17997241752205c7c8486d772e1dcb | |
parent | 1d4fc8e1a312f0c7103b2faa914a173c8581763d (diff) |
Print prettier time.
-rw-r--r-- | vc-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |