]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1290] Fix to use GETTIMEOFDAY macro
authorDanny Mayer <mayer@ntp.org>
Mon, 31 Aug 2009 13:54:57 +0000 (09:54 -0400)
committerDanny Mayer <mayer@ntp.org>
Mon, 31 Aug 2009 13:54:57 +0000 (09:54 -0400)
bk: 4a9bd631n0SNedp-xqRo-bHA49owog

ntpd/refclock_oncore.c

index 97a62986b80ae45bef473e50a80ea246d2a7e53b..f71726a1942a2480d13e035d0a89620678034b2a 100644 (file)
@@ -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
        {