diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c index ea0ae1ecd7..5c053ce99e 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c @@ -251,7 +251,7 @@ Returns: // // Print Device Path // - DevPathStr = DevicePathToStr(DevicePath); + DevPathStr = ConvertDevicePathToText (DevicePath, FALSE, FALSE); if (DevPathStr != NULL) { DEBUG(( EFI_D_INFO, @@ -280,7 +280,7 @@ Returns: // // Print Device Path // - DevPathStr = DevicePathToStr(DevicePath); + DevPathStr = ConvertDevicePathToText (DevicePath, FALSE, FALSE); if (DevPathStr != NULL) { DEBUG(( EFI_D_INFO, @@ -991,7 +991,7 @@ ConnectRecursivelyIfPciMassStorage ( // // Print Device Path // - DevPathStr = DevicePathToStr (DevicePath); + DevPathStr = ConvertDevicePathToText (DevicePath, FALSE, FALSE); if (DevPathStr != NULL) { DEBUG(( EFI_D_INFO, diff --git a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf index 2bb43d08a4..15f9c735a6 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf +++ b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf @@ -46,6 +46,7 @@ DebugLib PcdLib UefiBootManagerLib + DevicePathLib PciLib NvVarsFileLib QemuFwCfgLib