diff options
Diffstat (limited to 'security/lsm_audit.c')
-rw-r--r-- | security/lsm_audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/lsm_audit.c b/security/lsm_audit.c index 1d34277dc402..4ed98107ace3 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c | |||
@@ -282,7 +282,7 @@ static void dump_common_audit_data(struct audit_buffer *ab, | |||
282 | pid_t pid = task_pid_nr(tsk); | 282 | pid_t pid = task_pid_nr(tsk); |
283 | if (pid) { | 283 | if (pid) { |
284 | char comm[sizeof(tsk->comm)]; | 284 | char comm[sizeof(tsk->comm)]; |
285 | audit_log_format(ab, " pid=%d comm=", pid); | 285 | audit_log_format(ab, " opid=%d ocomm=", pid); |
286 | audit_log_untrustedstring(ab, | 286 | audit_log_untrustedstring(ab, |
287 | memcpy(comm, tsk->comm, sizeof(comm))); | 287 | memcpy(comm, tsk->comm, sizeof(comm))); |
288 | } | 288 | } |