summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-06 02:10:56 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-06 14:21:10 +0100
commit124aff6251c095367ce1323a21fa23235cbb0490 (patch)
treea3273b35f918409a046410c8ccc612d841aec9ac /src/journal
parenta4705396adbf1a8a3e52ed133d9b1f12cb13e77e (diff)
journal: adjust audit log messages a bit
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald-audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c
index f543732506..341d74815d 100644
--- a/src/journal/journald-audit.c
+++ b/src/journal/journald-audit.c
@@ -396,8 +396,8 @@ static void process_audit_string(Server *s, int type, const char *data, size_t s
sprintf(id_field, "_AUDIT_ID=%" PRIu64, id);
IOVEC_SET_STRING(iov[n_iov++], id_field);
- m = alloca(strlen("MESSAGE=audit-") + DECIMAL_STR_MAX(int) + strlen(": ") + strlen(p) + 1);
- sprintf(m, "MESSAGE=audit-%i: %s", type, p);
+ m = alloca(strlen("MESSAGE=<audit-") + DECIMAL_STR_MAX(int) + strlen("> ") + strlen(p) + 1);
+ sprintf(m, "MESSAGE=<audit-%i> %s", type, p);
IOVEC_SET_STRING(iov[n_iov++], m);
z = n_iov;