|
@@ -338,7 +338,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f)
|
|
entry->rule.listnr != AUDIT_FILTER_USER)
|
|
entry->rule.listnr != AUDIT_FILTER_USER)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
break;
|
|
break;
|
|
- };
|
|
|
|
|
|
+ }
|
|
|
|
|
|
switch(f->type) {
|
|
switch(f->type) {
|
|
default:
|
|
default:
|
|
@@ -412,7 +412,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f)
|
|
if (entry->rule.listnr != AUDIT_FILTER_EXIT)
|
|
if (entry->rule.listnr != AUDIT_FILTER_EXIT)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
break;
|
|
break;
|
|
- };
|
|
|
|
|
|
+ }
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|