summaryrefslogtreecommitdiffstats
path: root/FatPkg/EnhancedFatDxe/Misc.c
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-12-08 13:18:08 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-12-09 11:02:08 +0800
commitc1680e885d8a4bc938a0ed4db5370d7e974c1849 (patch)
tree23bf6c7735fb4e57c8a46afc41d12c7c69435df3 /FatPkg/EnhancedFatDxe/Misc.c
parent5d7cee9d3c3e15fd6ad87910d96c87e5aec12360 (diff)
downloadedk2-c1680e885d8a4bc938a0ed4db5370d7e974c1849.tar.gz
edk2-c1680e885d8a4bc938a0ed4db5370d7e974c1849.tar.bz2
edk2-c1680e885d8a4bc938a0ed4db5370d7e974c1849.zip
FatPkg/EnhancedFatDxe: Make the variable name follow rule
Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'FatPkg/EnhancedFatDxe/Misc.c')
-rw-r--r--FatPkg/EnhancedFatDxe/Misc.c4
1 files changed, 2 insertions, 2 deletions
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;