summaryrefslogtreecommitdiff
path: root/src/server/sv_rankings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/sv_rankings.c')
-rw-r--r--src/server/sv_rankings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/sv_rankings.c b/src/server/sv_rankings.c
index 20d24fd4..7846cccf 100644
--- a/src/server/sv_rankings.c
+++ b/src/server/sv_rankings.c
@@ -1524,7 +1524,7 @@ static void SV_RankError( const char* fmt, ... )
char text[1024];
va_start( arg_ptr, fmt );
- vsprintf( text, fmt, arg_ptr );
+ Q_vsnprintf(text, sizeof(text), fmt, arg_ptr );
va_end( arg_ptr );
Com_DPrintf( "****************************************\n" );