mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-25 21:43:41 +01:00
[Android] Use vsnprintf for the log messages.
This commit is contained in:
parent
09def3ed3f
commit
b6963ce1cb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user