]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeExtendedSalLib/ExtendedSalLib.c
Add Missing invocations to VA_END() for VA_START().
[mirror_edk2.git] / MdePkg / Library / DxeExtendedSalLib / ExtendedSalLib.c
index 82266f5df015cae40ac9f908f14dd65cb6d14156..0f48c63f7b85f0011b6354469380fc2bb6e0bb78 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The library implements the Extended SAL Library Class for boot service only modules.\r
 \r
-  Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 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
@@ -196,6 +196,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