From 91c1d1c58a4269f4f5924e53476fa2e8ac680414 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 6 Jun 2021 17:13:26 +0100 Subject: Windows backtrace: fprintf to fputs --- src/OSSupport/StackTrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/OSSupport') 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(); -- cgit v1.2.3