fix compile

This commit is contained in:
Chris Danford
2005-12-09 04:28:49 +00:00
parent 970bc43d03
commit f1c876a16c
2 changed files with 1 additions and 2 deletions
@@ -223,7 +223,6 @@ void ArchHooks_Unix::SetTime( tm newtime )
void ArchHooks_Unix::MountInitialFilesystems( const CString &sDirOfExecutable )
{
#if defined(LINUX)
HOOKS->MountInitialFilesystems( sDirOfExecutable );
/* Mount the root filesystem, so we can read files in /proc, /etc, and so on.
* This is /rootfs, not /root, to avoid confusion with root's home directory. */
RageFileManager::Mount( "dir", "/", "/rootfs" );
@@ -298,7 +298,7 @@ void ArchHooks_darwin::MountInitialFilesystems( const CString &sDirOfExecutable
ASSERT( parts.size() > 3 );
CString Dir = '/' + join( "/", parts.begin(), parts.end()-3 );
RageFileManager::Mount( "dir", Dir, "/" );
else
#else
/* Paths relative to the CWD: */
FILEMAN->Mount( "dir", ".", "/" );
#endif