summaryrefslogtreecommitdiff
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2020-12-11 16:42:54 +0800
committerPaul Moore <paul@paul-moore.com>2021-01-04 19:37:35 -0500
commita1b861faa6844e323951c7a0609e6f310008eedd (patch)
treea6c2d012a66ba69bc7f032a13edd8b2d5ab8dd05 /kernel/audit.c
parente71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff)
downloadlwn-a1b861faa6844e323951c7a0609e6f310008eedd.tar.gz
lwn-a1b861faa6844e323951c7a0609e6f310008eedd.zip
kernel/audit: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Reviewed-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 1ffc2e059027..0bc0b20c6c04 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -2285,7 +2285,7 @@ static void audit_log_set_loginuid(kuid_t koldloginuid, kuid_t kloginuid,
uid = from_kuid(&init_user_ns, task_uid(current));
oldloginuid = from_kuid(&init_user_ns, koldloginuid);
- loginuid = from_kuid(&init_user_ns, kloginuid),
+ loginuid = from_kuid(&init_user_ns, kloginuid);
tty = audit_get_tty();
audit_log_format(ab, "pid=%d uid=%u", task_tgid_nr(current), uid);