From b4d6f0f8064f2b706ea9035ef0393d8299671390 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 25 Aug 2008 22:55:17 +0000 Subject: Fix up bogon and missing log entries from .pmachata.threads branch. --- libelf/elf_getarsym.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libelf/elf_getarsym.c') 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) -- cgit v1.2.1