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