]> git.ipfire.org Git - thirdparty/util-linux.git/commit
rtcwake: improve read_clock_mode()
authorSami Kerola <kerolasa@iki.fi>
Sat, 10 Jan 2015 18:03:25 +0000 (18:03 +0000)
committerKarel Zak <kzak@redhat.com>
Mon, 29 Jun 2015 11:39:37 +0000 (13:39 +0200)
commit3e5a54554dd1495d10427163e911c24ba4c9e558
treed4a667f77e0d2c20d0fbb211e866c3f4dd6ac181
parent5fde2f0d34e71301dc146bfec616564d8c60c872
rtcwake: improve read_clock_mode()

Make skipping two lines more robust, and add message about unexpected
adjfile contents when running with --verbose.

Reviewed-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/strutils.h
lib/strutils.c
sys-utils/rtcwake.c