kerneltest/e32test/lffs/loadlffs.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
    22 LOCAL_C void FormatLFFS(TDes &drive)
    22 LOCAL_C void FormatLFFS(TDes &drive)
    23 	{
    23 	{
    24 
    24 
    25     RFormat format;
    25     RFormat format;
    26     TInt    count;
    26     TInt    count;
       
    27     TInt    r;
    27     
    28     
    28     RDebug::Print(_L("Format LFFS drive %S\r\n"), &drive);
    29     RDebug::Print(_L("Format LFFS drive %S\r\n"), &drive);
    29 	format.Open(TheFs, drive, EHighDensity, count);
    30     r = format.Open(TheFs, drive, EHighDensity, count);
    30     
    31     
    31     while (count)
    32     while (count)
    32 		{
    33 		{
    33         format.Next(count);
    34         format.Next(count);
    34     	}
    35     	}