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>
This commit is contained in:
parent
82d8da0d46
commit
2a0b4be6dd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue