core/src/fshell.cpp
changeset 54 ea6622dea85a
parent 42 e81b4e28b3e2
child 66 2a78c4ff2eab
--- a/core/src/fshell.cpp	Wed Sep 01 17:56:27 2010 +0100
+++ b/core/src/fshell.cpp	Tue Sep 07 20:04:42 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)