Fix a typo in error message from entry point checking

This commit is contained in:
Tate, Hongliang Tian 2019-11-12 16:26:33 +00:00
parent 83f479ab54
commit 91b30c19ae

@ -149,7 +149,7 @@ fn validate_program_path(target_path: &PathBuf) -> Result<()> {
.iter()
.any(|valid_path_prefix| target_path.starts_with(valid_path_prefix));
if !is_valid_entry_point {
return_errno!(EINVAL, "program path is a valid entry point");
return_errno!(EINVAL, "program path is NOT a valid entry point");
}
Ok(())
}