]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Debug.c
Add Missing invocations to VA_END() for VA_START().
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Pei / PeiLib / Debug.c
index ce257c4e1c8d5af670e41beb598434da358f0a4c..eaf785bd36ce62956f21fa00f96f4dc5f5c13472 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2005, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>\r
 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
@@ -113,6 +113,7 @@ Returns:
 \r
   VA_START (Marker, Format);\r
   EfiDebugVPrintWorker (ErrorLevel, Format, Marker, sizeof (Buffer), Buffer);\r
+  VA_END (Marker);\r
 \r
   //\r
   // We choose NOT to use PEI_REPORT_STATUS_CODE here, because when debug is enable,\r
@@ -127,5 +128,4 @@ Returns:
                     (EFI_STATUS_CODE_DATA *) Buffer\r
                     );\r
 \r
-  return ;\r
 }\r