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

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


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

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

fsutil: Use the standard va_list instead of __ms_va_list.

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

---

 programs/fsutil/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/programs/fsutil/main.c b/programs/fsutil/main.c
index e4c036f9650..46deda8a51d 100644
--- a/programs/fsutil/main.c
+++ b/programs/fsutil/main.c
@@ -51,12 +51,12 @@ static void output_write(const WCHAR *str, DWORD wlen)
 static int WINAPIV output_string(int msg, ...)
 {
     WCHAR out[8192];
-    __ms_va_list arguments;
+    va_list arguments;
     int len;
 
-    __ms_va_start(arguments, msg);
+    va_start(arguments, msg);
     len = FormatMessageW(FORMAT_MESSAGE_FROM_HMODULE, NULL, msg, 0, out, ARRAY_SIZE(out), &arguments);
-    __ms_va_end(arguments);
+    va_end(arguments);
 
     if (len == 0 && GetLastError() != NO_ERROR)
         WINE_FIXME("Could not format string: le=%u, msg=%d\n", GetLastError(), msg);




More information about the wine-cvs mailing list