[Android] Use vsnprintf for the log messages.

This commit is contained in:
Ryan Houdek 2013-05-05 23:10:58 -05:00
parent 09def3ed3f
commit b6963ce1cb
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ void Host_SysMessage(const char *fmt, ...)
char msg[512];
va_start(list, fmt);
vsprintf(msg, fmt, list);
vsnprintf(msg, 512, fmt, list);
va_end(list);
size_t len = strlen(msg);