* Frans Pop <[email protected]> [2009-12-11 22:05]:
> > gettimeofday({2203525639, 203778}, NULL) = 0
> > settimeofday({56041989, 2148687426}, NULL) = -1 EINVAL (Invalid argument)
> 
> The value for tv_sec looks low and the one for tv_usec way too high. Could 
> it be that the calculation is just wrong (maybe due to overflow) when the 
...
> So, to me this looks like a calculation error in rdate, probably in ntp.c.

ntpdate uses adjtimex() to fix this but this is a Linux-specific
syscall so David is reluctant to use it in rdate.  Maybe rdate can fix
the value manually somehow.

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to