services/tests: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f8ffea3a87
commit
7f83b8fdd1
|
@ -65,12 +65,12 @@ static inline void service_event(const char *event)
|
||||||
static void WINAPIV service_ok(int cnd, const char *msg, ...) __WINE_PRINTF_ATTR(2,3);
|
static void WINAPIV service_ok(int cnd, const char *msg, ...) __WINE_PRINTF_ATTR(2,3);
|
||||||
static void WINAPIV service_ok(int cnd, const char *msg, ...)
|
static void WINAPIV service_ok(int cnd, const char *msg, ...)
|
||||||
{
|
{
|
||||||
__ms_va_list valist;
|
va_list valist;
|
||||||
char buf[512];
|
char buf[512];
|
||||||
|
|
||||||
__ms_va_start(valist, msg);
|
va_start(valist, msg);
|
||||||
vsprintf(buf, msg, valist);
|
vsprintf(buf, msg, valist);
|
||||||
__ms_va_end(valist);
|
va_end(valist);
|
||||||
|
|
||||||
send_msg(cnd ? "OK" : "FAIL", buf);
|
send_msg(cnd ? "OK" : "FAIL", buf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue