Correct 3DS Backend_PrintInfo writing to stderr

This commit is contained in:
Clownacy 2020-10-12 10:37:19 +01:00 committed by GitHub
parent b5292f0ce7
commit 8513a1d7d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,9 +134,9 @@ ATTRIBUTE_FORMAT_PRINTF(1, 2) void Backend_PrintInfo(const char *format, ...)
{
va_list argumentList;
va_start(argumentList, format);
fputs("INFO: ", stderr);
vfprintf(stderr, format, argumentList);
fputc('\n', stderr);
fputs("INFO: ", stdout);
vfprintf(stdout, format, argumentList);
fputc('\n', stdout);
va_end(argumentList);
}