From 9efc4bdaca80e791e8a142bccf1f557975d5d022 Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Sat, 6 Jun 2020 21:40:55 +0300 Subject: Print prettier time. --- vc-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit