diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-01-28 20:27:04 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-01-28 20:27:04 +0100 |
commit | 6a6748c9c70bc585611f74811bd2bf71f9a14814 (patch) | |
tree | 73c65fcf315760842c0eee972bd7eb511d34a13a | |
parent | 9114ff00c92459958b2319d56ff0bd36c60e5ccb (diff) | |
download | rvnit-6a6748c9c70bc585611f74811bd2bf71f9a14814.tar.gz rvnit-6a6748c9c70bc585611f74811bd2bf71f9a14814.tar.xz rvnit-6a6748c9c70bc585611f74811bd2bf71f9a14814.zip |
don't log microseconds to console, less clutter
-rw-r--r-- | rvnit.c | 4 |
1 files 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); } |