mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-01-20 21:00:20 -05:00
Rename SCH_GetFileReadyTime() and extend it to return raw time
This commit is contained in:
@@ -789,7 +789,7 @@ read_from_device(void *any)
|
||||
/* Read RTC time, sandwiched between two polls of the system clock
|
||||
so we can bound any error. */
|
||||
|
||||
SCH_GetFileReadyTime(&sys_time, NULL);
|
||||
SCH_GetLastEventTime(&sys_time, NULL, NULL);
|
||||
|
||||
status = ioctl(fd, RTC_RD_TIME, &rtc_raw);
|
||||
if (status < 0) {
|
||||
|
||||
Reference in New Issue
Block a user