Display the name of the lua files which can't be loaded.

This commit is contained in:
feber 2004-10-19 19:31:49 +00:00
parent fa48b22bd4
commit 895d83c3f8

View file

@ -193,7 +193,8 @@ int LuaLoadFile(const char* file)
CLFile* fp;
if (!(fp = CLopen(file, CL_OPEN_READ))) {
perror("Can't open file");
fprintf(stderr,"Can't open file '%s': %s\n",
file, strerror(errno));
return -1;
}