Fix #64: sub-second faking of kernel timestamps

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2023-07-09 10:50:07 +02:00
parent 7e8243e48f
commit ba35121290
1 changed files with 1 additions and 1 deletions

View File

@ -1404,7 +1404,7 @@ void printsys(char *msg)
tv.tv_sec = time(NULL);
tv.tv_usec = 0;
}
ustime = tv.tv_usec * 1000000;
ustime = tv.tv_usec;
}
localtime_r(&now, &buffer.timestamp.tm);