summaryrefslogtreecommitdiff
path: root/src/base/loader
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/loader')
-rw-r--r--src/base/loader/elf_object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/loader/elf_object.cc b/src/base/loader/elf_object.cc
index 410cc1fde..43c00b19e 100644
--- a/src/base/loader/elf_object.cc
+++ b/src/base/loader/elf_object.cc
@@ -383,7 +383,7 @@ ElfObject::ElfObject(const std::string &_filename, size_t _len,
}
// should have found at least one loadable segment
- warn_if(text.size != 0,
+ warn_if(text.size == 0,
"Empty .text segment in '%s'. ELF file corrupted?\n",
filename);