Fix compilation
This commit is contained in:
@@ -258,7 +258,7 @@ void MemoryCardDriverThreaded_Linux::MountThreadDoOneUpdate()
|
||||
d.bWriteTestSucceeded = bMountedSuccessfully && TestWrite( d.sOsMountDir );
|
||||
|
||||
// read name
|
||||
this->Mount( &d, TEMP_MOUNT_POINT );
|
||||
this->Mount( &d );
|
||||
FILEMAN->FlushDirCache( TEMP_MOUNT_POINT );
|
||||
|
||||
Profile profile;
|
||||
@@ -266,8 +266,6 @@ void MemoryCardDriverThreaded_Linux::MountThreadDoOneUpdate()
|
||||
profile.LoadEditableDataFromDir( sProfileDir );
|
||||
d.sName = profile.GetDisplayName();
|
||||
|
||||
UnmountMountPoint( TEMP_MOUNT_POINT );
|
||||
|
||||
LOG->Trace( "WriteTest: %s, Name: %s", d.bWriteTestSucceeded ? "succeeded" : "failed", d.sName.c_str() );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user