aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fix_elf/patch.h
diff options
context:
space:
mode:
authorMikhail Borisov <borisov.mikhail@gmail.com>2022-02-10 16:45:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:40 +0300
commit5d50718e66d9c037dc587a0211110b7d25a66185 (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /tools/fix_elf/patch.h
parenta6a92afe03e02795227d2641b49819b687f088f8 (diff)
downloadydb-5d50718e66d9c037dc587a0211110b7d25a66185.tar.gz
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'tools/fix_elf/patch.h')
-rw-r--r--tools/fix_elf/patch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fix_elf/patch.h b/tools/fix_elf/patch.h
index de5b1a3b8c..c3dcd24224 100644
--- a/tools/fix_elf/patch.h
+++ b/tools/fix_elf/patch.h
@@ -23,7 +23,7 @@ public:
Map.Map(0, Map.Length());
Begin = reinterpret_cast<char*>(Map.Ptr());
- if (Map.Length() < static_cast<i64>(sizeof(Elf64_Ehdr)) || TStringBuf(Begin, SELFMAG) != ELFMAG) {
+ if (Map.Length() < static_cast<i64>(sizeof(Elf64_Ehdr)) || TStringBuf(Begin, SELFMAG) != ELFMAG) {
ythrow yexception() << path << " is not an ELF file";
}
}