kerneltest/f32test/server/t_dspace.cpp
changeset 33 0173bcd7697c
parent 0 a41df078684a
child 109 b3a1d9898418
child 249 a179b74831c9
--- a/kerneltest/f32test/server/t_dspace.cpp	Wed Dec 23 11:43:31 2009 +0000
+++ b/kerneltest/f32test/server/t_dspace.cpp	Thu Jan 07 13:38:45 2010 +0200
@@ -178,7 +178,6 @@
 		TheBuffer.SetLength(KMaxBufSize);
 		Mem::Fill((void*)TheBuffer.Ptr(),KMaxBufSize,0xab);
 		}
-	TheDiskSize=DiskSize(KDefaultDrive);
 #if defined(__WINS__)
 	RemovableDrive=EDriveX;
 #else
@@ -240,6 +239,7 @@
 	// test not run on c: drive but does use it
 	Format(EDriveC);
 #endif
+	TheDiskSize=DiskSize(KDefaultDrive);
 	// and set the default directory
 	r=TheFs.MkDirAll(gSessionPath);
 	test(r==KErrNone || r==KErrAlreadyExists);