chiark / gitweb /
timesyncd: remove debug code
authorKay Sievers <kay@vrfy.org>
Wed, 30 Apr 2014 07:37:47 +0000 (09:37 +0200)
committerKay Sievers <kay@vrfy.org>
Wed, 30 Apr 2014 07:37:59 +0000 (09:37 +0200)
src/timesync/timesyncd.c

index 1eecf7d..7b7ec7a 100644 (file)
@@ -367,8 +367,7 @@ static int sntp_adjust_clock(Manager *m, double offset, int leap_sec) {
                 break;
         }
 
-        //r = clock_adjtime(CLOCK_REALTIME, &tmx);
-        r = adjtimex(&tmx);
+        r = clock_adjtime(CLOCK_REALTIME, &tmx);
         if (r < 0)
                 return r;