summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2013-05-08 00:01:07 -0400
committerEric Paris <eparis@redhat.com>2013-05-08 00:02:19 -0400
commit2a0b4be6dd655e24990da1d0811e28b9277f8b12 (patch)
treeef6977d732ba71ce8dce6eaea47830423928839b
parent82d8da0d46ae7d3e9089efadb5e8d9841c20a431 (diff)
downloadlinux-2a0b4be6dd655e24990da1d0811e28b9277f8b12.tar.gz
linux-2a0b4be6dd655e24990da1d0811e28b9277f8b12.tar.bz2
linux-2a0b4be6dd655e24990da1d0811e28b9277f8b12.zip
audit: fix message spacing printing auid
The helper function didn't include a leading space, so it was jammed against the previous text in the audit record. Signed-off-by: Eric Paris <eparis@redhat.com>
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index f9c6506536e6..5c7e62ff4795 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -1388,7 +1388,7 @@ void audit_log_session_info(struct audit_buffer *ab)
u32 sessionid = audit_get_sessionid(current);
uid_t auid = from_kuid(&init_user_ns, audit_get_loginuid(current));
- audit_log_format(ab, "auid=%u ses=%u\n", auid, sessionid);
+ audit_log_format(ab, " auid=%u ses=%u\n", auid, sessionid);
}
void audit_log_key(struct audit_buffer *ab, char *key)