summaryrefslogtreecommitdiffstats
path: root/libelf/elf_getarsym.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-08-25 22:55:17 +0000
committerRoland McGrath <roland@redhat.com>2008-08-25 22:55:17 +0000
commitb4d6f0f8064f2b706ea9035ef0393d8299671390 (patch)
tree58d3da51253302bc5b8f2198d8462942ff43f464 /libelf/elf_getarsym.c
parentf729d77881262094d365d33ac51063e25a02e357 (diff)
downloadandroid_external_elfutils-b4d6f0f8064f2b706ea9035ef0393d8299671390.tar.gz
android_external_elfutils-b4d6f0f8064f2b706ea9035ef0393d8299671390.tar.bz2
android_external_elfutils-b4d6f0f8064f2b706ea9035ef0393d8299671390.zip
Fix up bogon and missing log entries from .pmachata.threads branch.
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 59598057..e6ecaadc 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)