Alexandre Julliard : netstat: 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: 3b6b24ea424c5f499c58f7de06e83a8c035b6ccd
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3b6b24ea424c5f499c58f7de06e83a8c035b6ccd
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Oct 25 11:01:22 2021 +0200
netstat: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/netstat/netstat.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/netstat/netstat.c b/programs/netstat/netstat.c
index 563896629c9..243fca56055 100644
--- a/programs/netstat/netstat.c
+++ b/programs/netstat/netstat.c
@@ -78,7 +78,7 @@ static int WINAPIV NETSTAT_wprintf(const WCHAR *format, ...)
static BOOL traceOutput = FALSE;
#define MAX_WRITECONSOLE_SIZE 65535
- __ms_va_list parms;
+ va_list parms;
DWORD nOut;
int len;
DWORD res = 0;
@@ -96,9 +96,9 @@ static int WINAPIV NETSTAT_wprintf(const WCHAR *format, ...)
return 0;
}
- __ms_va_start(parms, format);
+ va_start(parms, format);
len = wvsprintfW(output_bufW, format, parms);
- __ms_va_end(parms);
+ va_end(parms);
/* Try to write as unicode all the time we think it's a console */
if (toConsole) {
More information about the wine-cvs
mailing list