diff options
author | Eric Paris <eparis@redhat.com> | 2013-05-08 06:01:07 +0200 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-05-08 06:02:19 +0200 |
commit | 2a0b4be6dd655e24990da1d0811e28b9277f8b12 (patch) | |
tree | ef6977d732ba71ce8dce6eaea47830423928839b | |
parent | Revert "audit: move kaudit thread start from auditd registration to kaudit init" (diff) | |
download | linux-2a0b4be6dd655e24990da1d0811e28b9277f8b12.tar.xz 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.c | 2 |
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) |