diff --git a/reactos/lib/3rdparty/libwine/debug.c b/reactos/lib/3rdparty/libwine/debug.c index 64a9bc94226..4dff5eae48c 100644 --- a/reactos/lib/3rdparty/libwine/debug.c +++ b/reactos/lib/3rdparty/libwine/debug.c @@ -42,16 +42,6 @@ DbgPrint( IN ... ); -ULONG -__cdecl -vDbgPrintExWithPrefix( - IN LPCSTR Prefix, - IN ULONG ComponentId, - IN ULONG Level, - IN LPCSTR Format, - IN va_list ap); - - static const char * const debug_classes[] = { "fixme", "err", "warn", "trace" }; #define MAX_DEBUG_OPTIONS 256 @@ -394,7 +384,10 @@ static const char *default_dbgstr_wn( const WCHAR *str, int n ) /* default implementation of wine_dbg_vprintf */ static int default_dbg_vprintf( const char *format, va_list args ) { - return vDbgPrintExWithPrefix(NULL, -1, 0, format, args); + char buffer[512]; + vsnprintf( buffer, sizeof(buffer), format, args ); + buffer[sizeof(buffer) - 1] = '\0'; + return DbgPrint( "%s", buffer ); }