]> git.ipfire.org Git - thirdparty/systemd.git/commit
Fix inversion of timesyncd_usec/epoch_usec variables in clock-warp.c
authorDevilish Spirits <devilishspirits@gmail.com>
Wed, 29 Jan 2025 20:54:27 +0000 (21:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 30 Jan 2025 08:27:03 +0000 (09:27 +0100)
commit164295eb6dcc0271d7de030809732c23eeccf9f0
treec29c992d7f80775093a3bb9df7f77d646ee1a9ab
parent5dc89b327f2361c2a8a43c74871ae5bdd6a6c814
Fix inversion of timesyncd_usec/epoch_usec variables in clock-warp.c

In clock_apply_epoch() function, the /usr/lib/clock-epoch timestamp was set to timesyncd_usec instead of epoch_usec and vice-versa which produced a misleading log message about the clock source systemd used for early clock sanitization. This trivial commit fix the mistake.
src/core/clock-warp.c