summaryrefslogtreecommitdiff
path: root/libelf/gelf_getverdaux.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/gelf_getverdaux.c')
-rw-r--r--libelf/gelf_getverdaux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/gelf_getverdaux.c b/libelf/gelf_getverdaux.c
index df796a8a..b8bcf14e 100644
--- a/libelf/gelf_getverdaux.c
+++ b/libelf/gelf_getverdaux.c
@@ -81,7 +81,7 @@ gelf_getverdaux (data, offset, dst)
assert (sizeof (GElf_Verdaux) == sizeof (Elf32_Verdaux));
assert (sizeof (GElf_Verdaux) == sizeof (Elf64_Verdaux));
- RWLOCK_RDLOCK (((Elf_Data_Scn *) data)->s->elf->lock);
+ rwlock_rdlock (((Elf_Data_Scn *) data)->s->elf->lock);
/* The data is already in the correct form. Just make sure the
index is OK. */
@@ -97,7 +97,7 @@ gelf_getverdaux (data, offset, dst)
sizeof (GElf_Verdaux));
- RWLOCK_UNLOCK (((Elf_Data_Scn *) data)->s->elf->lock);
+ rwlock_unlock (((Elf_Data_Scn *) data)->s->elf->lock);
return result;
}