From 6a6748c9c70bc585611f74811bd2bf71f9a14814 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 28 Jan 2022 20:27:04 +0100 Subject: don't log microseconds to console, less clutter --- rvnit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rvnit.c b/rvnit.c index 345603b..794d43c 100644 --- a/rvnit.c +++ b/rvnit.c @@ -483,8 +483,8 @@ logger_loop(void* ignored) to logger failed (potentially because the pipe is full, we don't want to stall here) */ - dprintf(2, "%s.%05ld %s[%ld]: %.*s\n", - timestamp, now.tv_nsec / 10000, + dprintf(2, "%s %s[%ld]: %.*s\n", + timestamp, sv, pid, (int)(eol - s), s); } -- cgit 1.4.1