commit | a7a0678999e3b1fd4b36743d8a3c909dc7a2ded4 | [log] [tgz] |
---|---|---|
author | James Carter <jwcart2@tycho.nsa.gov> | Tue Jan 31 13:47:17 2017 -0500 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Fri Feb 03 14:01:28 2017 -0500 |
tree | 3ea315f48c50aaf33fbec14b855ba8cc671f3090 | |
parent | a141c0d19fccd1f19203e5e80ddbc74380636012 [diff] |
checkpolicy: Cleanup error messages Add the new function print_error_msg() to print an error message based on the local error number and symbol_type. Remove the duplicate switch statements used throughout module_complier.c to display error messages. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>