aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
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 7b7268e3073b..fecb1507b485 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -744,7 +744,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
744 if (!audit_enabled && msg_type != AUDIT_USER_AVC) 744 if (!audit_enabled && msg_type != AUDIT_USER_AVC)
745 return 0; 745 return 0;
746 746
747 err = audit_filter_user(&NETLINK_CB(skb)); 747 err = audit_filter_user();
748 if (err == 1) { 748 if (err == 1) {
749 err = 0; 749 err = 0;
750 if (msg_type == AUDIT_USER_TTY) { 750 if (msg_type == AUDIT_USER_TTY) {