mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
don't pass arguements as formatstring to DbgPrint as it will fusk up strings like %SystemRoot%
svn path=/trunk/; revision=31809
This commit is contained in:
parent
909e8a4ef0
commit
977a41091d
1 changed files with 1 additions and 1 deletions
2
reactos/lib/3rdparty/libwine/debug.c
vendored
2
reactos/lib/3rdparty/libwine/debug.c
vendored
|
@ -388,7 +388,7 @@ static int default_dbg_vprintf( const char *format, va_list args )
|
|||
char buffer[512];
|
||||
vsnprintf( buffer, sizeof(buffer), format, args );
|
||||
buffer[sizeof(buffer) - 1] = '\0';
|
||||
return DbgPrint( buffer );
|
||||
return DbgPrint( "%s", buffer );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue