summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-04-30 09:37:47 +0200
committerKay Sievers <kay@vrfy.org>2014-04-30 09:37:59 +0200
commit81c36b3f28103c72e1b1c80a2af0dcc308a07bcf (patch)
tree02eb61a4266c1140de95ce0a890bbab622a3caa5
parent8ddbeaa23c20659fe3b1b79502d746aceb396ce8 (diff)
timesyncd: remove debug code
-rw-r--r--src/timesync/timesyncd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c
index 1eecf7d4d6..7b7ec7ae9f 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;