]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: improve audit control
authorJ William Piggott <elseifthen@gmx.com>
Tue, 18 Apr 2017 22:51:43 +0000 (18:51 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Wed, 19 Apr 2017 02:39:05 +0000 (22:39 -0400)
commitd8949acaa7a5b3023df115f1bb8b41d0c01f21dd
treea34e152e699b626337595e8fbc892ef5cccfefd7
parent969bffb748feea71690193ba6c6405e36a22af9b
hwclock: improve audit control

Move audit control to option parsing. This fixes non-alpha build
error and cleans up an unruly 'if' statement.

Having audit control in option parsing may also draw awareness to
the audit system when adding new functions, which could easily be
overlooked otherwise.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock.c
sys-utils/hwclock.h