Fix saving xlogfile realtime

This commit is contained in:
Pasi Kallinen
2015-04-17 10:35:05 +03:00
parent e1155aca6f
commit 8c41a962a7
6 changed files with 7 additions and 7 deletions

View File

@@ -568,7 +568,7 @@ unsigned int *stuckid, *steedid;
foo = time_from_yyyymmddhhmmss(timebuf);
ReadTimebuf(ubirthday);
ReadTimebuf(urealtime.realtime);
mread(fd, &urealtime.realtime, sizeof(urealtime.realtime));
ReadTimebuf(urealtime.restored);
#if defined(BSD) && !defined(POSIX_TYPES)
(void) time((long *)&urealtime.restored);