From c1680e885d8a4bc938a0ed4db5370d7e974c1849 Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Thu, 8 Dec 2016 13:18:08 +0800 Subject: FatPkg/EnhancedFatDxe: Make the variable name follow rule Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Reviewed-by: Ruiyu Ni --- FatPkg/EnhancedFatDxe/Misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FatPkg/EnhancedFatDxe/Misc.c') diff --git a/FatPkg/EnhancedFatDxe/Misc.c b/FatPkg/EnhancedFatDxe/Misc.c index c7455a4412..c5476e8ff8 100644 --- a/FatPkg/EnhancedFatDxe/Misc.c +++ b/FatPkg/EnhancedFatDxe/Misc.c @@ -397,7 +397,7 @@ Returns: // Blocking access // DiskIo = Volume->DiskIo; - IoFunction = (IoMode == READ_DISK) ? DiskIo->ReadDisk : DiskIo->WriteDisk; + IoFunction = (IoMode == ReadDisk) ? DiskIo->ReadDisk : DiskIo->WriteDisk; Status = IoFunction (DiskIo, Volume->MediaId, Offset, BufferSize, Buffer); } else { // @@ -409,7 +409,7 @@ Returns: } else { Subtask->Signature = FAT_SUBTASK_SIGNATURE; Subtask->Task = Task; - Subtask->Write = (BOOLEAN) (IoMode == WRITE_DISK); + Subtask->Write = (BOOLEAN) (IoMode == WriteDisk); Subtask->Offset = Offset; Subtask->Buffer = Buffer; Subtask->BufferSize = BufferSize; -- cgit v1.2.3