diff options
author | Alexander Gololobov <davenger@yandex-team.com> | 2022-02-10 16:47:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:38 +0300 |
commit | fccc62e9bfdce9be2fe7e0f23479da3a5512211a (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/malloc | |
parent | 39608cdb86363c75ce55b2b9a69841c3b71f22cf (diff) | |
download | ydb-fccc62e9bfdce9be2fe7e0f23479da3a5512211a.tar.gz |
Restoring authorship annotation for Alexander Gololobov <davenger@yandex-team.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/malloc')
-rw-r--r-- | library/cpp/malloc/api/malloc.cpp | 8 | ||||
-rw-r--r-- | library/cpp/malloc/api/malloc.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/malloc/api/malloc.cpp b/library/cpp/malloc/api/malloc.cpp index 9bda35814f..eed1c58a38 100644 --- a/library/cpp/malloc/api/malloc.cpp +++ b/library/cpp/malloc/api/malloc.cpp @@ -1,5 +1,5 @@ #include <stdlib.h> -#include <stdio.h> +#include <stdio.h> #include "malloc.h" @@ -28,9 +28,9 @@ namespace NMalloc { { } - void AbortFromCorruptedAllocator(const char* errorMessage) { - errorMessage = errorMessage ? errorMessage : "<unspecified>"; - fprintf(stderr, "Allocator error: %s\n", errorMessage); + void AbortFromCorruptedAllocator(const char* errorMessage) { + errorMessage = errorMessage ? errorMessage : "<unspecified>"; + fprintf(stderr, "Allocator error: %s\n", errorMessage); IsAllocatorCorrupted = true; abort(); } diff --git a/library/cpp/malloc/api/malloc.h b/library/cpp/malloc/api/malloc.h index d0d6e0c8d4..ebd545d6dd 100644 --- a/library/cpp/malloc/api/malloc.h +++ b/library/cpp/malloc/api/malloc.h @@ -16,7 +16,7 @@ namespace NMalloc { }; extern volatile bool IsAllocatorCorrupted; - void AbortFromCorruptedAllocator(const char* errorMessage = nullptr); + void AbortFromCorruptedAllocator(const char* errorMessage = nullptr); // this function should be implemented by malloc implementations TMallocInfo MallocInfo(); |