'%' - Print a %\r
\r
\r
-Copyright (c) 2004 - 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\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
http://opensource.org/licenses/bsd-license.php\r
\r
**/\r
UINTN\r
+EFIAPI\r
ConsolePrint (\r
IN CHAR16 *Fmt,\r
...\r
)\r
{\r
VA_LIST Args;\r
+ UINTN LengthOfPrinted;\r
\r
VA_START (Args, Fmt);\r
- return PrintInternal ((UINTN) -1, (UINTN) -1, gST->ConOut, Fmt, Args);\r
+ LengthOfPrinted = PrintInternal ((UINTN) -1, (UINTN) -1, gST->ConOut, Fmt, Args);\r
+ VA_END (Args);\r
+ return LengthOfPrinted;\r
}\r
\r
\r
\r
**/\r
UINTN\r
+EFIAPI\r
PrintAt (\r
IN UINTN Column,\r
IN UINTN Row,\r
)\r
{\r
VA_LIST Args;\r
+ UINTN LengthOfPrinted;\r
\r
VA_START (Args, Fmt);\r
- return PrintInternal (Column, Row, gST->ConOut, Fmt, Args);\r
+ LengthOfPrinted = PrintInternal (Column, Row, gST->ConOut, Fmt, Args);\r
+ VA_END (Args);\r
+ return LengthOfPrinted;\r
}\r
\r
\r