error output

This commit is contained in:
Glenn Maynard
2003-12-02 19:12:57 +00:00
parent 3e8cf666ba
commit bd7916d363
+1 -1
View File
@@ -57,7 +57,7 @@ bool Model::LoadMilkshapeAscii( CString sPath )
FILE *file = fopen (sPath, "rt"); FILE *file = fopen (sPath, "rt");
if( !file ) if( !file )
RageException::Throw( "Model::LoadMilkshapeAscii Could not open '%s'.", sPath.c_str() ); RageException::Throw( "Model::LoadMilkshapeAscii Could not open \"%s\": %s", sPath.c_str(), strerror(errno) );
Clear (); Clear ();