Use fputs instead of fprintf.

Using variable format string is insecure.
This commit is contained in:
Themaister 2013-05-11 21:20:55 +02:00
parent 3ad0b31099
commit be9ed7a66c

View File

@ -72,7 +72,7 @@ void retro_stderr(const char *str)
#ifdef _WIN32
OutputDebugStringA(str);
#else
fprintf(stderr, str);
fputs(str, stderr);
#endif
}