diff --git a/src/OSSupport/StackTrace.cpp b/src/OSSupport/StackTrace.cpp index 0520b4325..77c5a3724 100644 --- a/src/OSSupport/StackTrace.cpp +++ b/src/OSSupport/StackTrace.cpp @@ -26,7 +26,7 @@ void PrintStackTrace(void) { virtual void OnOutput(LPCSTR szText) override { - std::fprintf(stdout, szText); + std::fputs(szText, stdout); } } sw; sw.ShowCallstack();