]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkUnixPkg/Sec/SecMain.c
Merge the patch provided by Johnson
[mirror_edk2.git] / EdkUnixPkg / Sec / SecMain.c
index 72fad08e647ced66130c37abe603eac835f977ba..04df255277a12a7765296f7d76ee1d00ef5b43c0 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2007 Intel Corporation.\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -173,6 +173,9 @@ Returns:
   CHAR16                *MemorySizeStr;\r
   CHAR16                *FirmwareVolumesStr;\r
 \r
+  setbuf(stdout, 0);\r
+  setbuf(stderr, 0);\r
+\r
   MemorySizeStr      = (CHAR16 *)PcdGetPtr (PcdUnixMemorySizeForSecMain);\r
   FirmwareVolumesStr = (CHAR16 *)PcdGetPtr (PcdUnixFirmwareVolume);\r
 \r