fix possible crash

This commit is contained in:
Glenn Maynard
2004-02-11 04:18:03 +00:00
parent 5e39cb5471
commit 71648333b1
+2 -1
View File
@@ -226,7 +226,8 @@ void RageFileManager::Mount( CString Type, CString Root, CString MountPoint )
RageFileDriver *driver = MakeFileDriver( Type, Root );
if( !driver )
{
LOG->Warn("Can't mount unknown VFS type \"%s\", root \"%s\"", Type.c_str(), Root.c_str() );
if( LOG )
LOG->Warn("Can't mount unknown VFS type \"%s\", root \"%s\"", Type.c_str(), Root.c_str() );
return;
}