summaryrefslogtreecommitdiffstats
path: root/libelf/elf32_getshdr.c
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2009-06-16 15:22:04 +0200
committerPetr Machata <[email protected]>2009-06-16 15:22:04 +0200
commit9e38b7374a0b9cb7aa77c2ad8afe5aac7182d337 (patch)
treeca307d5078971fdef16f324e8ffd32b25ddd0df1 /libelf/elf32_getshdr.c
parent77abb31cb8d55980ef92260917a7ecdd228b1a44 (diff)
parent99d2372b25d1231d786b70278478c7a112f2b27c (diff)
Merge branch 'master' of ssh://[email protected]/git/elfutils into pmachata/reader_hooksupstream/pmachata/reader_hooks
Diffstat (limited to 'libelf/elf32_getshdr.c')
-rw-r--r--libelf/elf32_getshdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf32_getshdr.c b/libelf/elf32_getshdr.c
index 91f5b3a1..8d650d9f 100644
--- a/libelf/elf32_getshdr.c
+++ b/libelf/elf32_getshdr.c
@@ -1,5 +1,5 @@
/* Return section header.
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005, 2007 Red Hat, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005, 2007, 2009 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <[email protected]>, 1998.
@@ -81,7 +81,7 @@ load_shdr_wrlock (Elf_Scn *scn)
goto out;
size_t shnum;
- if (__elf_getshnum_rdlock (elf, &shnum) != 0)
+ if (__elf_getshdrnum_rdlock (elf, &shnum) != 0)
goto out;
size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr));