]> err.no Git - util-linux/commit
hwclock: delay loop in set_hardware_clock_exact
authorKalev Soikonen <ksop@hot.ee>
Sun, 27 Jul 2008 23:26:44 +0000 (02:26 +0300)
committerKarel Zak <kzak@redhat.com>
Wed, 13 Aug 2008 09:43:59 +0000 (11:43 +0200)
commitac1bb1ef9350a79a016d504022c710336244a112
tree8a977601b1d422fe8ce3b84eb8b9feaec1d61750
parent982a4a5d98c7034004ec04bff7faea6e1dfcf131
hwclock: delay loop in set_hardware_clock_exact

- Avoid delaying 1.5 seconds when 0.5 will do.
- Guard for forward time resets as well.

[kzak@redhat.com: - fix the "Delaying.." debug message
                  - add comments]

Signed-off-by: Kalev Soikonen <ksop@hot.ee>
Signed-off-by: Karel Zak <kzak@redhat.com>
hwclock/hwclock.c