]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntp_adjtime() call cleanup.
authorHarlan Stenn <stenn@ntp.org>
Tue, 19 Feb 2002 04:27:09 +0000 (23:27 -0500)
committerHarlan Stenn <stenn@ntp.org>
Tue, 19 Feb 2002 04:27:09 +0000 (23:27 -0500)
From: John Hay

bk: 3c71d41dX0mb3PuQsPfeThzTUp3dbg

ntpd/ntp_crypto.c

index d8516b5ebbae6bf7eee4c9a8f0db44e073ca77e9..19f902a56a188f05f02d0ff89112218da10fc7ee 100644 (file)
@@ -950,9 +950,7 @@ crypto_recv(
 #if NTP_API > 3
                        ntv.modes = MOD_TAI;
                        ntv.constant = sys_tai;
-                       if (ntp_adjtime(&ntv) == TIME_ERROR)
-                               msyslog(LOG_ERR,
-                                   "kernel TAI update failed");
+                       (void)ntp_adjtime(&ntv);
 #endif /* NTP_API */
 #endif /* KERNEL_PLL */