diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-05-06 16:25:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 16:25:12 +0200 |
commit | ce8d8388d630fa936500e6843496afe113ad8bc5 (patch) | |
tree | bf48229531b01a5ca26ef2b91efbb2592e8ecf20 /src/OSSupport/StackTrace.cpp | |
parent | Move item placement into item handlers (#5184) (diff) | |
download | cuberite-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 'src/OSSupport/StackTrace.cpp')
-rw-r--r-- | src/OSSupport/StackTrace.cpp | 2 |
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(); |