Commit 3b6b24ea authored by Alexandre Julliard's avatar Alexandre Julliard

netstat: Use the standard va_list instead of __ms_va_list.

parent 3291ead1
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment