From 68a4e15e149771f36ba58b3adcef9b2981a4eda6 Mon Sep 17 00:00:00 2001 From: Chen A Chen Date: Wed, 20 Feb 2019 16:42:50 +0800 Subject: 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 Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chen A Chen Reviewed-by: Ray Ni --- MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Application') 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); -- cgit v1.2.3