Rename SCH_GetFileReadyTime() and extend it to return raw time

This commit is contained in:
Miroslav Lichvar
2013-06-05 17:52:13 +02:00
parent 0074135097
commit 58f768928a
5 changed files with 13 additions and 10 deletions

View File

@@ -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) {