You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
442 B

  1. --- a/htpdate.c
  2. +++ b/htpdate.c
  3. @@ -359,7 +359,7 @@ static int htpdate_adjtimex( double drif
  4. /* Read current kernel frequency */
  5. tmx.modes = 0;
  6. - ntp_adjtime(&tmx);
  7. + adjtimex(&tmx);
  8. /* Calculate new frequency */
  9. freq = (long)(65536e6 * drift);
  10. @@ -377,7 +377,7 @@ static int htpdate_adjtimex( double drif
  11. printlog( 1, "seteuid()" );
  12. exit(1);
  13. } else {
  14. - return( ntp_adjtime(&tmx) );
  15. + return( adjtimex(&tmx) );
  16. }
  17. }