aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/audit_watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r--kernel/audit_watch.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c
index b49ab019fdff..0e96dbc60ea9 100644
--- a/kernel/audit_watch.c
+++ b/kernel/audit_watch.c
@@ -234,11 +234,7 @@ static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watc
234 audit_log_string(ab, op); 234 audit_log_string(ab, op);
235 audit_log_format(ab, " path="); 235 audit_log_format(ab, " path=");
236 audit_log_untrustedstring(ab, w->path); 236 audit_log_untrustedstring(ab, w->path);
237 if (r->filterkey) { 237 audit_log_key(ab, r->filterkey);
238 audit_log_format(ab, " key=");
239 audit_log_untrustedstring(ab, r->filterkey);
240 } else
241 audit_log_format(ab, " key=(null)");
242 audit_log_format(ab, " list=%d res=1", r->listnr); 238 audit_log_format(ab, " list=%d res=1", r->listnr);
243 audit_log_end(ab); 239 audit_log_end(ab);
244 } 240 }