From 3fc46b79d82922f33af29bf6c9d0de0062ebda12 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Tue, 15 Nov 2016 17:43:31 +0800 Subject: [PATCH] MdeModulePkg/UefiBootManagerLib: Refine the debug message Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Eric Dong Reviewed-by: Sunny Wang --- MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c b/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c index e638e5fc67..6f705bd467 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c @@ -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 ));