--- a/userlibandfileserver/fileserver/sfat32/sl_mnt.cpp Fri Aug 06 16:34:38 2010 +0100
+++ b/userlibandfileserver/fileserver/sfat32/sl_mnt.cpp Thu Aug 12 11:55:14 2010 +0100
@@ -4213,7 +4213,7 @@
if(bProblemsFound && chkDskRes == CScanDrive::ENoErrors)
{//-- ScanDrive in this mode can leave unexpectedly without setting an error code that is returned by ProblemsDiscovered();
//-- leave itself means a problem
- chkDskRes = CScanDrive::EUnknownError;
+ chkDskRes = nScnDrvRes == KErrNone ? CScanDrive::EUnknownError : (CScanDrive::TGenericError) nScnDrvRes;
}
delete pScnDrv;