http://www.mail-archive.com/ucl...@uclibc.org/msg02985.html

Signed-off-by: Alexandros C. Couloumbis <alex at ozo.com>


--- htpdate-1.0.4/htpdate.c.orig        2009-01-22 11:20:54.000000000 +0200
+++ htpdate-1.0.4/htpdate.c     2009-01-22 11:18:55.000000000 +0200
@@ -359,7 +359,7 @@

        /* Read current kernel frequency */
        tmx.modes = 0;
-       ntp_adjtime(&tmx);
+       __adjtimex(&tmx);

        /* Calculate new frequency */
        freq = (long)(65536e6 * drift);
@@ -377,7 +377,7 @@
                printlog( 1, "seteuid()" );
                exit(1);
        } else {
-               return( ntp_adjtime(&tmx) );
+               return( __adjtimex(&tmx) );
        }

 }

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to