mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
timesyncd: remove debug code
This commit is contained in:
parent
8ddbeaa23c
commit
81c36b3f28
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user