timesyncd: move stuff that is not about setting the clock out of manager_adjust_clock()
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Mar 2022 14:53:25 +0000 (15:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Mar 2022 22:53:31 +0000 (23:53 +0100)
commit7cb08ea80f66dbaadfa0350cb09adf155449bcc6
treefad7c313c6ede7f93edc6c271800c379f49e7b4c
parentadc07c2bf5338b709c0771e51b78addd5006e54f
timesyncd: move stuff that is not about setting the clock out of manager_adjust_clock()

Let's make sure manager_adjust_clock() is purely about setting the
clock, and nothing else.

Let's clean up logging this way. manager_adjust_clock() now won#t log
about errors, but the caller can safely do that, and do with the right
log message string.
src/timesync/timesyncd-manager.c