Fix #64: sub-second faking of kernel timestamps
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
7e8243e48f
commit
ba35121290
@ -1404,7 +1404,7 @@ void printsys(char *msg)
|
|||||||
tv.tv_sec = time(NULL);
|
tv.tv_sec = time(NULL);
|
||||||
tv.tv_usec = 0;
|
tv.tv_usec = 0;
|
||||||
}
|
}
|
||||||
ustime = tv.tv_usec * 1000000;
|
ustime = tv.tv_usec;
|
||||||
}
|
}
|
||||||
|
|
||||||
localtime_r(&now, &buffer.timestamp.tm);
|
localtime_r(&now, &buffer.timestamp.tm);
|
||||||
|
Loading…
Reference in New Issue
Block a user