kerneltest/e32test/lffs/loadlffs.cpp
changeset 109 b3a1d9898418
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
102:ef2a444a7410 109:b3a1d9898418
    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;
       
    28     
    27     
    29     RDebug::Print(_L("Format LFFS drive %S\r\n"), &drive);
    28     RDebug::Print(_L("Format LFFS drive %S\r\n"), &drive);
    30     r = format.Open(TheFs, drive, EHighDensity, count);
    29 	format.Open(TheFs, drive, EHighDensity, count);
    31     
    30     
    32     while (count)
    31     while (count)
    33 		{
    32 		{
    34         format.Next(count);
    33         format.Next(count);
    35     	}
    34     	}