summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-05-05 14:29:52 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-05-05 14:29:52 +0000
commitd1c9470b12b351443f14ee1cb5620bfffc6dfb0a (patch)
tree01dfb1e0f3285e1f9b8aab43e8d0b49bb49a2cc0 /libpcsxcore
parent1b994def069a2a09e792f88bb9287387a9a4cc97 (diff)
downloadpcsxr-d1c9470b12b351443f14ee1cb5620bfffc6dfb0a.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@66587 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/psxcounters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c
index 5f47c768..454a5e55 100644
--- a/libpcsxcore/psxcounters.c
+++ b/libpcsxcore/psxcounters.c
@@ -98,7 +98,7 @@ void verboseLog( s32 level, const char *str, ... )
char buf[ 4096 ];
va_start( va, str );
- vsprintf( buf, str, va );
+ vsnprintf( buf, sizeof(buf), str, va );
va_end( va );
printf( buf );