]> git.proxmox.com Git - mirror_edk2.git/commitdiff
This checkin addresses the compatibility issue of passing arguments of type VA_LIST...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 31 May 2009 00:06:01 +0000 (00:06 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 31 May 2009 00:06:01 +0000 (00:06 +0000)
1) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8410 6f19259b-4bc3-4df7-8a09-765794883524

Nt32Pkg/Sec/SecMain.c

index 120a7f85c7435de6968b80570e43780e0a02e261..8e638e04da770468d5e5b0bb54bfb064aeb11f4e 100644 (file)
@@ -438,7 +438,7 @@ Returns:
 // TODO:    Data - add argument and description to function comment\r
 {\r
   CHAR8           *Format;\r
-  VA_LIST         Marker;\r
+  BASE_LIST       Marker;\r
   CHAR8           PrintBuffer[BYTES_PER_RECORD * 2];\r
   CHAR8           *Filename;\r
   CHAR8           *Description;\r
@@ -457,7 +457,7 @@ Returns:
     //\r
     // Process DEBUG () macro \r
     //\r
-    AsciiVSPrint (PrintBuffer, BYTES_PER_RECORD, Format, Marker);\r
+    AsciiBSPrint (PrintBuffer, BYTES_PER_RECORD, Format, Marker);\r
     printf (PrintBuffer);\r
   }\r
 \r