]> err.no Git - util-linux/commit
hwclock: do not access hardware clock when using --systz
authorScott James Remnant <scott@ubuntu.com>
Thu, 24 Sep 2009 18:59:33 +0000 (11:59 -0700)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2009 12:03:30 +0000 (14:03 +0200)
commit304762d663608bbda4661c87d298d77c0629da5e
tree84259ac4f77a15e6c26fdc6b9e718f05431cea36
parenta77bfc3a00182a26a6fd46dde971bf2688e06d63
hwclock: do not access hardware clock when using --systz

When using --systz we do not read from the hardware clock, so there
is no need to search for a hardware clock.  Indeed, we may be running
hwclock --systz before /dev is mounted.

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
hwclock/hwclock.c