diff options
author | J William Piggott | 2014-09-25 13:38:25 +0200 |
---|---|---|
committer | J William Piggott | 2014-10-15 20:45:29 +0200 |
commit | d17a12a3685945e7d5579db491543d223618d060 (patch) | |
tree | 67325e74bcc60f94277ecf71c259e5ddfe3d16b9 /sys-utils/hwclock.8.in | |
parent | hwclock: hctosys drift compensation II MAN (diff) | |
download | kernel-qcow2-util-linux-d17a12a3685945e7d5579db491543d223618d060.tar.gz kernel-qcow2-util-linux-d17a12a3685945e7d5579db491543d223618d060.tar.xz kernel-qcow2-util-linux-d17a12a3685945e7d5579db491543d223618d060.zip |
hwclock: persistent_clock_is_local
When hctosys is used at boot time, making it the
first caller of settimeofday, the responsibility
of setting persistent_clock_is_local is thrust
upon it. Currently hctosys always leaves this
variable uninitialized. This causes a Hardware
Clock configured to use the local timescale to be
clobbered with the UTC timescale by the kernel's
NTP eleven minute mode.
This patch fixes this hctosys bug, by having it
properly set persistent_clock_is_local according
to the time scale configured for the Hardware
Clock.
It does this via the kernel warp_clock function
but this in inconsequential, because we set the
system time immediately afterward.
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.8.in')
0 files changed, 0 insertions, 0 deletions