fix Linux compile

This commit is contained in:
Chris Danford
2004-04-23 04:33:19 +00:00
parent 795252d302
commit 691d0091a3
@@ -150,12 +150,12 @@ void MemoryCardDriverThreaded_Linux::MountThreadMain()
d.bWriteTestSucceeded = bMountedSuccessfully && TestWrite( d.sOsMountDir );
// read name
this->Mount( &usbd, TEMP_MOUNT_POINT );
this->Mount( &d, TEMP_MOUNT_POINT );
FILEMAN->FlushDirCache( TEMP_MOUNT_POINT );
Profile profile;
CString sProfileDir = TEMP_MOUNT_POINT + PREFSMAN->m_sMemoryCardProfileSubdir + '/';
profile.LoadEditableDataFromDir( sProfileDir );
usbd.sName = profile.GetDisplayName();
d.sName = profile.GetDisplayName();
LOG->Trace( "write test %s", d.bWriteTestSucceeded ? "succeeded" : "failed" );
}