From 91b30c19ae39967217d990072f5bf4a138b5db65 Mon Sep 17 00:00:00 2001 From: "Tate, Hongliang Tian" Date: Tue, 12 Nov 2019 16:26:33 +0000 Subject: [PATCH] Fix a typo in error message from entry point checking --- src/libos/src/entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libos/src/entry.rs b/src/libos/src/entry.rs index 0421c578..ea0daf00 100644 --- a/src/libos/src/entry.rs +++ b/src/libos/src/entry.rs @@ -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(()) }