summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiLib
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-12 08:13:33 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-12 08:13:33 +0000
commit2ad4dad029f3931e952ca6c766cab815aa930a17 (patch)
tree316b87060f7defe48d8785ff59afa5a2fc3d6a1c /MdePkg/Library/UefiLib
parenta88c89156f078ba943e4699e38c45f58c25f2876 (diff)
downloadedk2-platforms-2ad4dad029f3931e952ca6c766cab815aa930a17.tar.xz
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
Diffstat (limited to 'MdePkg/Library/UefiLib')
-rw-r--r--MdePkg/Library/UefiLib/UefiLibPrint.c2
1 files changed, 1 insertions, 1 deletions
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
//