summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSteve Grubb <sgrubb@redhat.com>2016-07-14 16:59:19 +0200
committerPaul Moore <paul@paul-moore.com>2016-07-14 23:47:43 +0200
commit0b7a0fdb29715e38641beb39db4d01695b22b5aa (patch)
treeb68493548bbd32f5d8d8ad1f9c56265efb6a5a56 /kernel
parentaudit: add fields to exclude filter by reusing user filter (diff)
downloadlinux-0b7a0fdb29715e38641beb39db4d01695b22b5aa.tar.xz
linux-0b7a0fdb29715e38641beb39db4d01695b22b5aa.zip
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>
Diffstat (limited to 'kernel')
-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);
}
}