core/src/fshell.cpp
changeset 67 683f4b1f08ce
parent 63 ea6622dea85a
child 83 2a78c4ff2eab
--- a/core/src/fshell.cpp	Thu Sep 09 15:38:45 2010 +0100
+++ b/core/src/fshell.cpp	Thu Sep 09 15:47:34 2010 +0100
@@ -405,9 +405,7 @@
 		User::LeaveIfError(fs.Connect());
 		_LIT(KPath, "%c:\\sys\\bin\\econs.dll");
 		TBuf<32> econsPath;
-		TChar systemDrive = 'c';
-		fs.DriveToChar(fs.GetSystemDrive(), systemDrive);
-		econsPath.Format(KPath, TUint(systemDrive));
+		econsPath.Format(KPath, LtkUtils::GetSystemDrive());
 		TEntry ioconsEntry;
 		err = fs.Entry(iocons.FileName(), ioconsEntry);
 		if (err == KErrNone)