summaryrefslogtreecommitdiff
path: root/lib/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/console.c')
-rw-r--r--lib/console.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/console.c b/lib/console.c
index 32c6d55d..2da20b31 100644
--- a/lib/console.c
+++ b/lib/console.c
@@ -86,15 +86,15 @@ VOID console_fini(VOID)
UINTN EFIAPI
console_print(const CHAR16 *fmt, ...)
{
- elf_va_list args;
+ va_list args;
UINTN ret;
if (!console_text_mode)
setup_console(1);
- elf_va_start(args, fmt);
+ va_start(args, fmt);
ret = VPrint(fmt, args);
- elf_va_end(args);
+ va_end(args);
return ret;
}
@@ -103,7 +103,7 @@ UINTN EFIAPI
console_print_at(UINTN col, UINTN row, const CHAR16 *fmt, ...)
{
SIMPLE_TEXT_OUTPUT_INTERFACE *co = ST->ConOut;
- elf_va_list args;
+ va_list args;
UINTN ret;
if (!console_text_mode)
@@ -111,9 +111,9 @@ console_print_at(UINTN col, UINTN row, const CHAR16 *fmt, ...)
co->SetCursorPosition(co, col, row);
- elf_va_start(args, fmt);
+ va_start(args, fmt);
ret = VPrint(fmt, args);
- elf_va_end(args);
+ va_end(args);
return ret;
}