]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/hwclock.c
hwclock: sometimes one day lasts 23 hours.
authorpeppe <g1pi@libero.it>
Sun, 22 Jun 2014 12:23:25 +0000 (14:23 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Jun 2014 09:48:14 +0000 (11:48 +0200)
commit033effcacd546952698e18a7eb56c1ce8b167cbe
tree4bd40fd27bf4d753cdab934e7c88227bec6ebd05
parentcabce4ea7191d4e97d05eda1cb9f95bf4d860533
hwclock: sometimes one day lasts 23 hours.

If less than 23 hours have passed since the last calibration, hwclock
says "Not adjusting drift factor because it has been less than a day since
the last calibration.", but in fact compares to 23 hours, not 24.

This was originally reported at:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689534

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
sys-utils/hwclock.c