aboutsummaryrefslogtreecommitdiffstats
path: root/libelf/common.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-03-16 23:09:26 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-03-16 23:09:26 +0000
commit26eea58be0a78ea40b0ba18ba0dfd6ba470313b6 (patch)
tree0b0fcef0fbc1d1fa061e8ea90ed976414b341900 /libelf/common.h
parent700b2efec5ca61f6a1c6859dd54cef773449eaac (diff)
parent76a46f02a97f7d0d8ee334e1fbdb981757a7f50c (diff)
downloadplatform_external_elfutils-android10-mainline-release.tar.gz
platform_external_elfutils-android10-mainline-release.tar.bz2
platform_external_elfutils-android10-mainline-release.zip
Change-Id: I6bcb41ced4cc380e88825e35e16d68c9500579e1
Diffstat (limited to 'libelf/common.h')
-rw-r--r--libelf/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/common.h b/libelf/common.h
index 744f1bb8..62486903 100644
--- a/libelf/common.h
+++ b/libelf/common.h
@@ -56,7 +56,7 @@ determine_kind (void *buf, size_t len)
if (eclass > ELFCLASSNONE && eclass < ELFCLASSNUM
&& data > ELFDATANONE && data < ELFDATANUM
- && version > EV_NONE && version < EV_NUM)
+ && version == EV_CURRENT)
return ELF_K_ELF;
}