fix warning: format not a string literal and no format arguments

This commit is contained in:
Ben Noordhuis
2012-03-17 22:32:01 +01:00
parent 7c4e1f1fcb
commit 3311b00ae6
4 changed files with 5 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ void Syn_Printf( const char *text, ... ){
va_start( args, text );
vsnprintf( buf, BUFFER_SIZE, text, args );
buf[BUFFER_SIZE - 1] = 0;
printf( buf );
printf( "%s", buf );
va_end( args );
}
}