summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/StackTrace.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-05-06 16:25:12 +0200
committerGitHub <noreply@github.com>2021-05-06 16:25:12 +0200
commitce8d8388d630fa936500e6843496afe113ad8bc5 (patch)
treebf48229531b01a5ca26ef2b91efbb2592e8ecf20 /src/OSSupport/StackTrace.cpp
parentMove item placement into item handlers (#5184) (diff)
downloadcuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.gz
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.bz2
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.lz
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.xz
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.zst
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/StackTrace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/StackTrace.cpp b/src/OSSupport/StackTrace.cpp
index d252e1e83..0520b4325 100644
--- a/src/OSSupport/StackTrace.cpp
+++ b/src/OSSupport/StackTrace.cpp
@@ -26,7 +26,7 @@ void PrintStackTrace(void)
{
virtual void OnOutput(LPCSTR szText) override
{
- puts(szText);
+ std::fprintf(stdout, szText);
}
} sw;
sw.ShowCallstack();