mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02:00
[Android] Use vsnprintf for the log messages.
This commit is contained in:
@ -113,7 +113,7 @@ void Host_SysMessage(const char *fmt, ...)
|
|||||||
char msg[512];
|
char msg[512];
|
||||||
|
|
||||||
va_start(list, fmt);
|
va_start(list, fmt);
|
||||||
vsprintf(msg, fmt, list);
|
vsnprintf(msg, 512, fmt, list);
|
||||||
va_end(list);
|
va_end(list);
|
||||||
|
|
||||||
size_t len = strlen(msg);
|
size_t len = strlen(msg);
|
||||||
|
Reference in New Issue
Block a user