]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeRuntimeExtendedSalLib/ExtendedSalLib.c
Add Missing invocations to VA_END() for VA_START().
[mirror_edk2.git] / MdePkg / Library / DxeRuntimeExtendedSalLib / ExtendedSalLib.c
index 1a599e6687cfda7f50210f9065e471f5e8f2f36c..f9e974b373d48ab7c994b974e30e1c4d3d3b7fc3 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This library implements the Extended SAL Library Class for use in boot services and runtime.\r
 \r
-  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 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
@@ -319,6 +319,8 @@ RegisterEsalClass (
     Status      = RegisterEsalFunction (FunctionId, ClassGuidLo, ClassGuidHi, Function, ModuleGlobal);\r
   }\r
 \r
+  VA_END (Args);\r
+\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r