Skip to content
Snippets Groups Projects
Commit ae23a1f3 authored by William Roberts's avatar William Roberts
Browse files

Corrected gramatical issues

Change-Id: I62ce62475f4a17d278243cc96db773872b2dc89c
parent a8613180
Branches
No related tags found
No related merge requests found
...@@ -248,8 +248,8 @@ static int key_map_validate(key_map *m, int lineno) { ...@@ -248,8 +248,8 @@ static int key_map_validate(key_map *m, int lineno) {
goto out; goto out;
} }
else if (type == dt_bool) { else if (type == dt_bool) {
log_error("Line number: %d, Expected boolean value got: %s=%s\n", log_error("Expected boolean value got: %s=%s on line: %d in file: %s\n",
lineno, key, value); key, value, lineno, out_file_name);
rc = 0; rc = 0;
goto out; goto out;
} }
...@@ -301,8 +301,8 @@ static int key_map_validate(key_map *m, int lineno) { ...@@ -301,8 +301,8 @@ static int key_map_validate(key_map *m, int lineno) {
ret = sepol_mls_check(pol.handle, pol.db, value); ret = sepol_mls_check(pol.handle, pol.db, value);
if (ret < 0) { if (ret < 0) {
log_error("Could not check selinux mls \"%s\", error: %s\n", log_error("Could not find selinux level \"%s\", on line: %d in file: %s\n", value,
value, strerror(errno)); lineno, out_file_name);
rc = 0; rc = 0;
goto out; goto out;
} }
...@@ -344,9 +344,7 @@ static void rule_map_print(FILE *fp, rule_map *r) { ...@@ -344,9 +344,7 @@ static void rule_map_print(FILE *fp, rule_map *r) {
* @param rmB * @param rmB
* a rule map to check * a rule map to check
* @return * @return
* 0 - If the rules input selectors are different, ie not a match * a map_match enum indicating the result
* 1 - If the input selectors match, ie needs an override
* -1 - If the input and output selectors match, ie duplicate line
*/ */
static map_match rule_map_cmp(rule_map *rmA, rule_map *rmB) { static map_match rule_map_cmp(rule_map *rmA, rule_map *rmB) {
...@@ -548,7 +546,7 @@ static void usage() { ...@@ -548,7 +546,7 @@ static void usage() {
printf( printf(
"checkseapp [options] <input file>\n" "checkseapp [options] <input file>\n"
"Processes an seapp_contexts file specified by argument <input file> (default stdin) " "Processes an seapp_contexts file specified by argument <input file> (default stdin) "
"and allows later decelerations to override previous ones on a match.\n" "and allows later declarations to override previous ones on a match.\n"
"Options:\n" "Options:\n"
"-h - print this help message\n" "-h - print this help message\n"
"-v - enable verbose debugging informations\n" "-v - enable verbose debugging informations\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment