From: Danny Mayer Date: Mon, 24 Aug 2009 19:25:59 +0000 (-0400) Subject: Bug fixes 1289 and 1290 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd56ee2fbab1e28930df44ee4c3d760199cdaead;p=thirdparty%2Fntp.git Bug fixes 1289 and 1290 bk: 4a92e947H3VKhqt-atCbM8NV1s4xeQ --- diff --git a/ChangeLog b/ChangeLog index 805b28efd0..e599198335 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +* [Bug 1289] Fix compiler files for Windows +* [Bug 1290] use macro GETTIMEOFDAY instead of gettimeofday() (4.2.5p205) 2009/08/18 Released by Harlan Stenn * accopt.html typo fixes from Dave Mills. * [Bug 1285] Log ntpq :config/config-from-file events. diff --git a/ntpd/refclock_oncore.c b/ntpd/refclock_oncore.c index 97a62986b8..f71726a194 100644 --- a/ntpd/refclock_oncore.c +++ b/ntpd/refclock_oncore.c @@ -3459,7 +3459,7 @@ oncore_log(instance, LOG_DEBUG, Msg); /* and set time to time from Computer clock */ - gettimeofday(&tv, 0); + GETTIMEOFDAY(&tv, 0); tm = gmtime((const time_t *) &tv.tv_sec); #if 1 {