aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/backtrace.cpp
diff options
context:
space:
mode:
authorCthulhu <cthulhu@yandex-team.ru>2022-02-10 16:47:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:44 +0300
commit6aced6c854653b75aab9808d5995be5fc4d9fa53 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util/system/backtrace.cpp
parentbcb3e9d0eb2a8188a6a9fe0907a8949ce4881a4e (diff)
downloadydb-6aced6c854653b75aab9808d5995be5fc4d9fa53.tar.gz
Restoring authorship annotation for Cthulhu <cthulhu@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/backtrace.cpp')
-rw-r--r--util/system/backtrace.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/backtrace.cpp b/util/system/backtrace.cpp
index 854f107383..b77fe58fb1 100644
--- a/util/system/backtrace.cpp
+++ b/util/system/backtrace.cpp
@@ -245,12 +245,12 @@ void FormatBackTrace(IOutputStream* out, void* const* backtrace, size_t backtrac
TFormatBackTraceFn FormatBackTraceFn = FormatBackTrace;
-TFormatBackTraceFn SetFormatBackTraceFn(TFormatBackTraceFn f) {
- TFormatBackTraceFn prevFn = FormatBackTraceFn;
- FormatBackTraceFn = f;
- return prevFn;
-}
-
+TFormatBackTraceFn SetFormatBackTraceFn(TFormatBackTraceFn f) {
+ TFormatBackTraceFn prevFn = FormatBackTraceFn;
+ FormatBackTraceFn = f;
+ return prevFn;
+}
+
void FormatBackTrace(IOutputStream* out) {
void* array[300];
const size_t s = BackTrace(array, Y_ARRAY_SIZE(array));