Skip to content
Snippets Groups Projects
Commit d5c3e500 authored by William Roberts's avatar William Roberts Committed by Jeffrey Vander Stoep
Browse files

checkseapp: update error message output


Change the final error message to be consistent with the others.

From:
Error: reading /home/wcrobert/workspace/aosp/external/sepolicy/seapp_contexts, line 82, name domain, value system_server

To:
Error: Reading file: "/home/wcrobert/workspace/aosp/external/sepolicy/seapp_contexts" line: 82 name: "domain" value: "system_server"

(cherry picked from commit efebf97e)

Change-Id: Idf791d28fbba95fbeed8b9ccec9a296eea33afb9
Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
parent ffd053ba
No related branches found
No related tags found
No related merge requests found
...@@ -1096,7 +1096,7 @@ static void parse_file(file_info *in_file) { ...@@ -1096,7 +1096,7 @@ static void parse_file(file_info *in_file) {
return; return;
err: err:
log_error("reading %s, line %zu, name %s, value %s\n", log_error("Reading file: \"%s\" line: %zu name: \"%s\" value: \"%s\"\n",
in_file->name, lineno, name, value); in_file->name, lineno, name, value);
if(found_whitespace && name && !strcasecmp(name, "neverallow")) { if(found_whitespace && name && !strcasecmp(name, "neverallow")) {
log_error("perhaps whitespace before neverallow\n"); log_error("perhaps whitespace before neverallow\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment