summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/StackTrace.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-06-06 18:13:26 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-06-28 22:54:21 +0200
commit91c1d1c58a4269f4f5924e53476fa2e8ac680414 (patch)
tree3501628c28bb0fd6dd3b080ca57137646e837a5d /src/OSSupport/StackTrace.cpp
parentDouble slabs are not transparent blocks (diff)
downloadcuberite-91c1d1c58a4269f4f5924e53476fa2e8ac680414.tar
cuberite-91c1d1c58a4269f4f5924e53476fa2e8ac680414.tar.gz
cuberite-91c1d1c58a4269f4f5924e53476fa2e8ac680414.tar.bz2
cuberite-91c1d1c58a4269f4f5924e53476fa2e8ac680414.tar.lz
cuberite-91c1d1c58a4269f4f5924e53476fa2e8ac680414.tar.xz
cuberite-91c1d1c58a4269f4f5924e53476fa2e8ac680414.tar.zst
cuberite-91c1d1c58a4269f4f5924e53476fa2e8ac680414.zip
Diffstat (limited to 'src/OSSupport/StackTrace.cpp')
-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 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();