summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Application
diff options
context:
space:
mode:
authorChen A Chen <chen.a.chen@intel.com>2019-02-20 16:42:50 +0800
committerLiming Gao <liming.gao@intel.com>2019-02-25 09:14:21 +0800
commit68a4e15e149771f36ba58b3adcef9b2981a4eda6 (patch)
treef264651f0cb7bb91b36d61ec46ccd3b64f739741 /MdeModulePkg/Application
parent5170327b7144e19c088df0c474adbbe7b5869b08 (diff)
downloadedk2-68a4e15e149771f36ba58b3adcef9b2981a4eda6.tar.gz
edk2-68a4e15e149771f36ba58b3adcef9b2981a4eda6.tar.bz2
edk2-68a4e15e149771f36ba58b3adcef9b2981a4eda6.zip
MdeModulePkg: Rename confusion function name
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1536 To avoid the confusion caused by function name, rename EfiBootManagerGetNextFullDevicePath to EfiBootManagerGetNextLoadOptionDevicePath. As an API function should add EFIAPI prefix for this function. Cc: Ray Ni <ray.ni@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chen A Chen <chen.a.chen@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Application')
-rw-r--r--MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c b/MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c
index f6e46cbdb1..4ff69af1b4 100644
--- a/MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c
+++ b/MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c
@@ -355,7 +355,7 @@ GetEfiSysPartitionFromBootOptionFilePath (
//
do {
PreFullPath = CurFullPath;
- CurFullPath = EfiBootManagerGetNextFullDevicePath (DevicePath, CurFullPath);
+ CurFullPath = EfiBootManagerGetNextLoadOptionDevicePath (DevicePath, CurFullPath);
if (PreFullPath != NULL) {
FreePool (PreFullPath);