summaryrefslogtreecommitdiffstats
path: root/libelf/elf_getarsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/elf_getarsym.c')
-rw-r--r--libelf/elf_getarsym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf_getarsym.c b/libelf/elf_getarsym.c
index e6ecaadc..59598057 100644
--- a/libelf/elf_getarsym.c
+++ b/libelf/elf_getarsym.c
@@ -94,7 +94,7 @@ elf_getarsym (elf, ptr)
if (result == NULL)
{
/* We have not yet read the index. */
- rwlock_wrlock (elf->lock);
+ RWLOCK_WRLOCK (elf->lock);
/* In case we find no index remember this for the next call. */
elf->state.ar.ar_sym = (Elf_Arsym *) -1l;
@@ -268,7 +268,7 @@ elf_getarsym (elf, ptr)
result = elf->state.ar.ar_sym;
out:
- rwlock_unlock (elf->lock);
+ RWLOCK_UNLOCK (elf->lock);
}
if (ptr != NULL)