OvmfPkg/PlatformBootManagerLib: Use ConvertDevicePathToText()

The DevicePathToStr() function (in
"IntelFrameworkModulePkg/Library/GenericBdsLib/DevicePath.c") is a
simple wrapper around ConvertDevicePathToText().

DevicePathToStr() passes DisplayOnly=TRUE and AllowShortcuts=TRUE to
ConvertDevicePathToText(), whereas in this patch, both parameters are
flipped to FALSE.

The formatted devpaths are used only for debugging purposes, so this
change is safe.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Ruiyu Ni
2016-04-20 17:24:38 +08:00
parent 2b23b8d45b
commit 77f47588a7
2 changed files with 4 additions and 3 deletions

View File

@@ -46,6 +46,7 @@
DebugLib
PcdLib
UefiBootManagerLib
DevicePathLib
PciLib
NvVarsFileLib
QemuFwCfgLib