diff options
author | J William Piggott | 2017-04-19 00:51:43 +0200 |
---|---|---|
committer | J William Piggott | 2017-04-19 04:39:05 +0200 |
commit | d8949acaa7a5b3023df115f1bb8b41d0c01f21dd (patch) | |
tree | a34e152e699b626337595e8fbc892ef5cccfefd7 /sys-utils/hwclock.h | |
parent | hwclock: --set and --predict segmentation fault (diff) | |
download | kernel-qcow2-util-linux-d8949acaa7a5b3023df115f1bb8b41d0c01f21dd.tar.gz kernel-qcow2-util-linux-d8949acaa7a5b3023df115f1bb8b41d0c01f21dd.tar.xz kernel-qcow2-util-linux-d8949acaa7a5b3023df115f1bb8b41d0c01f21dd.zip |
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>
Diffstat (limited to 'sys-utils/hwclock.h')
-rw-r--r-- | sys-utils/hwclock.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h index 7830ef60a..7d2cc45ac 100644 --- a/sys-utils/hwclock.h +++ b/sys-utils/hwclock.h @@ -26,9 +26,7 @@ struct hwclock_control { #endif unsigned int debug; unsigned int -#ifdef HAVE_LIBAUDIT hwaudit_on:1, -#endif adjust:1, show:1, hctosys:1, |