diff options
author | Star Zeng <star.zeng@intel.com> | 2017-06-30 20:38:55 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2017-07-03 17:53:16 +0800 |
commit | 94f5c6001c41a2d4e3d5953e43003373333d6ebe (patch) | |
tree | 57a04bb10e4c23a587ea0e1223b0cf1af4d37ae8 /MdeModulePkg/Application | |
parent | eeeabe40012938d6d895f51b3b40cb6496887a3c (diff) | |
download | edk2-94f5c6001c41a2d4e3d5953e43003373333d6ebe.zip edk2-94f5c6001c41a2d4e3d5953e43003373333d6ebe.tar.gz edk2-94f5c6001c41a2d4e3d5953e43003373333d6ebe.tar.bz2 |
MdeModulePkg CapsuleApp: Fix print info in BuildGatherList()
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=614
Print (L"CapsuleApp: capsule data starts at 0x%X with
size 0x%X\n", (UINTN) CapsuleBuffer, FileSize);
It should use (UINTN) CapsuleBuffer[Index] and FileSize[Index]
as parameter.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Cloud Wang <winggundum82@163.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'MdeModulePkg/Application')
-rw-r--r-- | MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c index 63c83b1..393cfe5 100644 --- a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c +++ b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c @@ -497,7 +497,7 @@ BuildGatherList ( goto ERREXIT;
} else {
Print (L"CapsuleApp: creating capsule descriptors at 0x%X\n", (UINTN) BlockDescriptors1);
- Print (L"CapsuleApp: capsule data starts at 0x%X with size 0x%X\n", (UINTN) CapsuleBuffer, FileSize);
+ Print (L"CapsuleApp: capsule data starts at 0x%X with size 0x%X\n", (UINTN) CapsuleBuffer[Index], FileSize[Index]);
}
//
|