userlibandfileserver/fileserver/sfile/sf_file_cache.cpp
changeset 254 1560c419b176
parent 176 af6ec97d9189
child 286 48e57fb1237e
--- a/userlibandfileserver/fileserver/sfile/sf_file_cache.cpp	Tue Aug 24 14:49:21 2010 +0100
+++ b/userlibandfileserver/fileserver/sfile/sf_file_cache.cpp	Tue Aug 31 11:31:15 2010 +0100
@@ -2192,9 +2192,6 @@
 	}
 
 
-	
-_LIT8(KLitSectionNameDrive,"Drive%C");
-
 static const TPtrC8 KCacheFlagEnumStrings[]=
 	{
 	_S8("OFF"),
@@ -2241,7 +2238,7 @@
 	// Get file cache configuration settings for this drive
 	// N.B. Size/length values are specified in Kilobytes, timer values in Milliseconds
 	TBuf8<8> sectionName;
-	sectionName.Format(KLitSectionNameDrive, 'A' + aDriveNumber);
+	F32Properties::GetDriveSection(aDriveNumber, sectionName);
 
 	TInt32 val;
 	//  Read FileCacheSize