Alexandre Julliard : wmic: Use the standard va_list instead of __ms_va_list.

Alexandre Julliard julliard at winehq.org
Mon Oct 25 16:30:06 CDT 2021


Module: wine
Branch: master
Commit: 789ba0fe412b0e1d44d5b37a67d9570c1aa90f21
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=789ba0fe412b0e1d44d5b37a67d9570c1aa90f21

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Oct 25 11:03:00 2021 +0200

wmic: Use the standard va_list instead of __ms_va_list.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 );




More information about the wine-cvs mailing list