diff options
author | Karel Zak | 2016-01-07 13:23:24 +0100 |
---|---|---|
committer | Karel Zak | 2016-01-07 13:23:24 +0100 |
commit | fbed7e09f826e7804e99522cc1dd3cf54c9cdb67 (patch) | |
tree | e96fe4d0bc58968dc6d84bfa938165303dbcc168 /sys-utils/hwclock.c | |
parent | scriptreplay/newgrp: use signed int to store return of getopt_long (diff) | |
download | kernel-qcow2-util-linux-fbed7e09f826e7804e99522cc1dd3cf54c9cdb67.tar.gz kernel-qcow2-util-linux-fbed7e09f826e7804e99522cc1dd3cf54c9cdb67.tar.xz kernel-qcow2-util-linux-fbed7e09f826e7804e99522cc1dd3cf54c9cdb67.zip |
hwclock: change audit message
The preferred layout is name=value for audit messages.
References: https://bugzilla.redhat.com/show_bug.cgi?id=1296278
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/hwclock.c')
-rw-r--r-- | sys-utils/hwclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 0d110617e..b6a46474e 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1951,7 +1951,7 @@ void __attribute__((__noreturn__)) hwaudit_exit(int status) { if (hwaudit_on) { audit_log_user_message(hwaudit_fd, AUDIT_USYS_CONFIG, - "changing system time", NULL, NULL, NULL, + "op=change-system-time", NULL, NULL, NULL, status ? 0 : 1); close(hwaudit_fd); } |