mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/UefiBootManagerLib: Refine the debug message
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Sunny Wang <sunnywang@hpe.com>
This commit is contained in:
parent
5ce6fb99d4
commit
3fc46b79d8
|
@ -1277,8 +1277,9 @@ EfiBootManagerProcessLoadOption (
|
|||
// Load and start the load option.
|
||||
//
|
||||
DEBUG ((
|
||||
DEBUG_INFO | DEBUG_LOAD, "Process Load Option (%s%04x) ...\n",
|
||||
mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber
|
||||
DEBUG_INFO | DEBUG_LOAD, "Process %s%04x (%s) ...\n",
|
||||
mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber,
|
||||
LoadOption->Description
|
||||
));
|
||||
ImageHandle = NULL;
|
||||
FileBuffer = EfiBootManagerGetLoadOptionBuffer (LoadOption->FilePath, &FilePath, &FileSize);
|
||||
|
@ -1321,7 +1322,7 @@ EfiBootManagerProcessLoadOption (
|
|||
|
||||
LoadOption->Status = gBS->StartImage (ImageHandle, &LoadOption->ExitDataSize, &LoadOption->ExitData);
|
||||
DEBUG ((
|
||||
DEBUG_INFO | DEBUG_LOAD, "Load Option (%s%04x) Return Status = %r\n",
|
||||
DEBUG_INFO | DEBUG_LOAD, "%s%04x Return Status = %r\n",
|
||||
mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber, LoadOption->Status
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in New Issue