]> git.ipfire.org Git - thirdparty/chrony.git/commit
sys_timex: add workaround for broken ntp_adjtime() on macOS
authorBryan Christianson <bryan@whatroute.net>
Mon, 31 Aug 2020 07:56:45 +0000 (19:56 +1200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 31 Aug 2020 08:16:51 +0000 (10:16 +0200)
commit538e1c5eb146db2334db5ee5d934d1d187cac1fa
treea394c5203ae7d4e976579a89dbcb2acce1b08219
parent009f1a5ae86ae316b8d1829d708fa6b35ea3033d
sys_timex: add workaround for broken ntp_adjtime() on macOS

On macOS 11.0 (Big Sur) beta, ntp_adjtime() incorrectly returns
timex.freq as an unsigned number. This patch is a workaround for the bug
and should be removed when Apple fix the problem (assuming they will).
sys_timex.c