Merge "Extend sepolicy for SANITIZE_TARGET."
diff --git a/tools/check_seapp.c b/tools/check_seapp.c
index d5d15b0..d40b6b0 100644
--- a/tools/check_seapp.c
+++ b/tools/check_seapp.c
@@ -347,9 +347,6 @@
key_map *mA;
key_map *mB;
- if (rmA->length != rmB->length)
- return map_no_matches;
-
for (i = 0; i < rmA->length; i++) {
mA = &(rmA->m[i]);
@@ -818,7 +815,7 @@
cmp = rule_map_cmp(rm, tmp->r);
log_error("Duplicate line detected in file: %s\n"
"Lines %d and %d %s!\n",
- out_file_name, tmp->r->lineno, rm->lineno,
+ in_file_name, tmp->r->lineno, rm->lineno,
map_match_str[cmp]);
rule_map_free(rm, rule_map_destroy_key);
goto err;