summaryrefslogtreecommitdiffstats
path: root/libelf/elf_newdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/elf_newdata.c')
-rw-r--r--libelf/elf_newdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/elf_newdata.c b/libelf/elf_newdata.c
index f6609a80..896f22cd 100644
--- a/libelf/elf_newdata.c
+++ b/libelf/elf_newdata.c
@@ -117,7 +117,7 @@ elf_newdata (Elf_Scn *scn)
}
/* Set the predefined values. */
- result->data.d.d_version = __libelf_version;
+ result->data.d.d_version = EV_CURRENT;
result->data.s = scn;