From d8949acaa7a5b3023df115f1bb8b41d0c01f21dd Mon Sep 17 00:00:00 2001 From: J William Piggott Date: Tue, 18 Apr 2017 18:51:43 -0400 Subject: 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 --- sys-utils/hwclock.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys-utils/hwclock.h') 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, -- cgit v1.2.3-55-g7522