Fix syscall assertion when input file does not exist

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
This commit is contained in:
Dániel Bátyai
2016-02-24 18:38:27 +01:00
parent b78f5a55bb
commit 764229b262
3 changed files with 9 additions and 59 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ read_sources (const char *script_file_names[],
if (i < files_count)
{
JERRY_ERROR_MSG ("Failed to read script N%d\n", i + 1);
JERRY_ERROR_MSG ("Failed to open file: %s\n", script_file_names[i]);
return NULL;
}