Taken out of the "Minor assorted fixes, mostly logging and tests" series I recently posted. Stefano Brivio (3): log, util: Fix sub-second part in relative log time calculation log: Initialise timestamp for relative log time also if we use a log file log: Fetch log times with CLOCK_MONOTONIC, not CLOCK_REALTIME log.c | 46 +++++++++++++++++++++++----------------------- log.h | 1 + passt.c | 2 ++ util.c | 25 ++++++++++++++++++------- util.h | 1 + 5 files changed, 45 insertions(+), 30 deletions(-) -- 2.43.0