From 2ad4dad029f3931e952ca6c766cab815aa930a17 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Fri, 12 Oct 2007 08:13:33 +0000 Subject: 1. Update internal EfiPrint protocol to contain all print interfaces provided by PrintLib class of MdePkg. 2. Update SetupBrowserDxe driver to produce new EfiPrint protocol. 3. Update EdkDxePrintLib instance to implement all interfaces defined in PrintLib class based on new EfiPrint protocol. 4. Update Nt32Pkg platform.dsc to use EdkDxePrintLib instance for UEFI_APPLICATION modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4109 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiLib/UefiLibPrint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg/Library') diff --git a/MdePkg/Library/UefiLib/UefiLibPrint.c b/MdePkg/Library/UefiLib/UefiLibPrint.c index de3e68ea2f..b8a076083d 100644 --- a/MdePkg/Library/UefiLib/UefiLibPrint.c +++ b/MdePkg/Library/UefiLib/UefiLibPrint.c @@ -58,7 +58,7 @@ InternalPrint ( Return = UnicodeVSPrint (Buffer, BufferSize, Format, Marker); - if (Console != NULL) { + if (Console != NULL && Return > 0) { // // To be extra safe make sure Console has been initialized // -- cgit v1.2.3