summaryrefslogtreecommitdiff
path: root/Core
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2017-05-11 12:57:47 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:40 +0800
commitf9308d8e0fc9340398888341530262a43130c79c (patch)
treeea77aa148e921cc41953cdfa5cdc5d24baf10a83 /Core
parent6fcd5adbd70612570ecf6c36f88eafe79595dd7f (diff)
downloadedk2-platforms-f9308d8e0fc9340398888341530262a43130c79c.tar.xz
MdeModulePkg CapsuleApp: Fix mixed EOL format issue
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> (cherry picked from commit 8ecb1e9befbf9a049f74486274288c1bc677ebf3)
Diffstat (limited to 'Core')
-rw-r--r--Core/MdeModulePkg/Application/CapsuleApp/AppSupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/MdeModulePkg/Application/CapsuleApp/AppSupport.c b/Core/MdeModulePkg/Application/CapsuleApp/AppSupport.c
index fc27343736..a727dbdc66 100644
--- a/Core/MdeModulePkg/Application/CapsuleApp/AppSupport.c
+++ b/Core/MdeModulePkg/Application/CapsuleApp/AppSupport.c
@@ -127,7 +127,7 @@ ReadFileToBuffer (
// Get the file size.
//
Status = ShellProtocol->GetFileSize (Handle, &FileSize);
- if (EFI_ERROR (Status)) {
+ if (EFI_ERROR (Status)) {
ShellProtocol->CloseFile (Handle);
return Status;
}