From 81c36b3f28103c72e1b1c80a2af0dcc308a07bcf Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 30 Apr 2014 09:37:47 +0200 Subject: [PATCH] timesyncd: remove debug code --- src/timesync/timesyncd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c index 1eecf7d4d6c..7b7ec7ae9f5 100644 --- a/src/timesync/timesyncd.c +++ b/src/timesync/timesyncd.c @@ -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;