while (!FAT_END_OF_FAT_CHAIN (Cluster)) {\r
if (Cluster == FAT_CLUSTER_FREE || Cluster >= FAT_CLUSTER_SPECIAL) {\r
\r
- DEBUG ((EFI_D_INIT | EFI_D_ERROR, "FatShrinkEof: cluster chain corrupt\n"));\r
+ DEBUG ((DEBUG_INIT | DEBUG_ERROR, "FatShrinkEof: cluster chain corrupt\n"));\r
return EFI_VOLUME_CORRUPTED;\r
}\r
\r
for (CurSize = 0; CurSize < NewSize; CurSize++) {\r
if (Cluster == FAT_CLUSTER_FREE || Cluster >= FAT_CLUSTER_SPECIAL) {\r
\r
- DEBUG ((EFI_D_INIT | EFI_D_ERROR, "FatShrinkEof: cluster chain corrupt\n"));\r
+ DEBUG ((DEBUG_INIT | DEBUG_ERROR, "FatShrinkEof: cluster chain corrupt\n"));\r
return EFI_VOLUME_CORRUPTED;\r
}\r
\r
if (Cluster < FAT_MIN_CLUSTER || Cluster > Volume->MaxCluster + 1) {\r
\r
DEBUG (\r
- (EFI_D_INIT | EFI_D_ERROR,\r
+ (DEBUG_INIT | DEBUG_ERROR,\r
"FatGrowEof: cluster chain corrupt\n")\r
);\r
Status = EFI_VOLUME_CORRUPTED;\r
\r
if (ClusterCount != CurSize) {\r
DEBUG (\r
- (EFI_D_INIT | EFI_D_ERROR,\r
+ (DEBUG_INIT | DEBUG_ERROR,\r
"FatGrowEof: cluster chain size does not match file size\n")\r
);\r
Status = EFI_VOLUME_CORRUPTED;\r
while (StartPos + ClusterSize <= Position) {\r
StartPos += ClusterSize;\r
if (Cluster == FAT_CLUSTER_FREE || (Cluster >= FAT_CLUSTER_SPECIAL)) {\r
- DEBUG ((EFI_D_INIT | EFI_D_ERROR, "FatOFilePosition:"" cluster chain corrupt\n"));\r
+ DEBUG ((DEBUG_INIT | DEBUG_ERROR, "FatOFilePosition:"" cluster chain corrupt\n"));\r
return EFI_VOLUME_CORRUPTED;\r
}\r
\r
while (!FAT_END_OF_FAT_CHAIN (Cluster)) {\r
if (Cluster == FAT_CLUSTER_FREE || Cluster >= FAT_CLUSTER_SPECIAL) {\r
DEBUG (\r
- (EFI_D_INIT | EFI_D_ERROR,\r
+ (DEBUG_INIT | DEBUG_ERROR,\r
"FATDirSize: cluster chain corrupt\n")\r
);\r
return 0;\r