From 789ba0fe412b0e1d44d5b37a67d9570c1aa90f21 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 25 Oct 2021 11:03:00 +0200 Subject: [PATCH] wmic: Use the standard va_list instead of __ms_va_list. Signed-off-by: Alexandre Julliard --- programs/wmic/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/wmic/main.c b/programs/wmic/main.c index f0b6ea0f05d..50c28ebec5d 100644 --- a/programs/wmic/main.c +++ b/programs/wmic/main.c @@ -95,14 +95,14 @@ static WCHAR *find_prop( IWbemClassObject *class, const WCHAR *prop ) static int WINAPIV output_string( HANDLE handle, const WCHAR *msg, ... ) { - __ms_va_list va_args; + va_list va_args; int len; DWORD count; WCHAR buffer[8192]; - __ms_va_start( va_args, msg ); + va_start( va_args, msg ); len = vswprintf( buffer, ARRAY_SIZE(buffer), msg, va_args ); - __ms_va_end( va_args ); + va_end( va_args ); if (!WriteConsoleW( handle, buffer, len, &count, NULL )) WriteFile( handle, buffer, len * sizeof(WCHAR), &count, FALSE );