summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Grubb <sgrubb@redhat.com>2016-07-14 10:59:19 -0400
committerPaul Moore <paul@paul-moore.com>2016-07-14 17:47:43 -0400
commit0b7a0fdb29715e38641beb39db4d01695b22b5aa (patch)
treeb68493548bbd32f5d8d8ad1f9c56265efb6a5a56
parent86b2efbe3a390e07dbba725ef700b0d143e9a385 (diff)
downloadlinux-0b7a0fdb29715e38641beb39db4d01695b22b5aa.tar.bz2
audit: fix whitespace in CWD record
Fix the whitespace in the CWD record Signed-off-by: Steve Grubb <sgrubb@redhat.com> [PM: fixed subject line] Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r--kernel/auditsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index ec4c552876a7..aa3feec4df14 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1430,7 +1430,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts
if (context->pwd.dentry && context->pwd.mnt) {
ab = audit_log_start(context, GFP_KERNEL, AUDIT_CWD);
if (ab) {
- audit_log_d_path(ab, " cwd=", &context->pwd);
+ audit_log_d_path(ab, "cwd=", &context->pwd);
audit_log_end(ab);
}
}