]> git.ipfire.org Git - thirdparty/chrony.git/commit
sys: fix clock stepping by integer number of seconds on Linux
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 23 Jun 2015 12:48:31 +0000 (14:48 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 23 Jun 2015 13:08:42 +0000 (15:08 +0200)
commitc2f83bd8a4cdbe6a93b1663741c29e8d65187ed7
tree70367faaeccbf4176c933f04e1b508985b1e232e
parent1f0e6296c6b3cd457fe263f679d5e14eaaa56759
sys: fix clock stepping by integer number of seconds on Linux

The kernel requires in the ADJ_SETOFFSET | ADJ_NANO mode that the
timex.time.tv_usec value is smaller than 10^9 nanosecond, which wasn't
the case with a negative integer offset (e.g. inserted leap second).
wrap_adjtimex.c