From: Danny Mayer Date: Mon, 31 Aug 2009 13:54:57 +0000 (-0400) Subject: [Bug 1290] Fix to use GETTIMEOFDAY macro X-Git-Tag: NTP_4_2_5P209~1^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b419f7aad3ba2c1dc7f3bedec3a995d55e3eb51e;p=thirdparty%2Fntp.git [Bug 1290] Fix to use GETTIMEOFDAY macro bk: 4a9bd631n0SNedp-xqRo-bHA49owog --- diff --git a/ntpd/refclock_oncore.c b/ntpd/refclock_oncore.c index 97a62986b..f71726a19 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 {