commit | 70d1d30eacfd06b170dc8a3e9cce159f5323943e | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Oct 20 18:00:20 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Oct 20 18:00:20 2016 +0000 |
tree | a3ab993f13c17960b6a47bb9919c3f4028bd8de9 | |
parent | 41c727bce85b97201269f78f7432cff6724fef47 [diff] | |
parent | f7d6bb3f71953655b497692c1e7583baf1aa558c [diff] |
Merge "check_seapp: correct output on invalid policy file"
diff --git a/tools/check_seapp.c b/tools/check_seapp.c index 927d4fd..d8fa636 100644 --- a/tools/check_seapp.c +++ b/tools/check_seapp.c
@@ -897,8 +897,7 @@ } if (sepol_policydb_read(pol.db, pol.pf) < 0) { - log_error("Could not lod policy file to db: %s!\n", - strerror(errno)); + log_error("Could not load policy file to db: invalid input file!\n"); exit(EXIT_FAILURE); } }