]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: change audit message
authorKarel Zak <kzak@redhat.com>
Thu, 7 Jan 2016 12:23:24 +0000 (13:23 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 7 Jan 2016 12:23:24 +0000 (13:23 +0100)
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>
sys-utils/hwclock.c

index 0d110617e41cdbcf13a0ef7227fc504ef4fbb62f..b6a46474e5207b5935ac94b0a7ddfbcf34c5d45b 100644 (file)
@@ -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);
        }