]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: improve default function handling
authorJ William Piggott <elseifthen@gmx.com>
Sun, 16 Apr 2017 23:10:48 +0000 (19:10 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Wed, 19 Apr 2017 02:39:05 +0000 (22:39 -0400)
commit8b73ff963398bededb182b09e5788454e7eeea1d
tree3ee64968d3275b9eb599fef0f8112125cb97fb63
parentd9f90f697c41a7040e5ff5e11a42c41adab173f6
hwclock: improve default function handling

Removes long default function test. Instead handle the
default when the options are parsed.

Also fixes the non-linux build failure reported by Rudi:
http://marc.info/?l=util-linux-ng&m=149189833115871

Reported-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock.c