commit | b4d6f0f8064f2b706ea9035ef0393d8299671390 | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Mon Aug 25 22:55:17 2008 +0000 |
committer | Roland McGrath <roland@redhat.com> | Mon Aug 25 22:55:17 2008 +0000 |
tree | 58d3da51253302bc5b8f2198d8462942ff43f464 | |
parent | f729d77881262094d365d33ac51063e25a02e357 [diff] [blame] |
Fix up bogon and missing log entries from .pmachata.threads branch.
diff --git a/libelf/elf32_newphdr.c b/libelf/elf32_newphdr.c index bc93785..d1b1608 100644 --- a/libelf/elf32_newphdr.c +++ b/libelf/elf32_newphdr.c
@@ -79,7 +79,7 @@ return NULL; } - RWLOCK_WRLOCK (elf->lock); + rwlock_wrlock (elf->lock); if (elf->class == 0) elf->class = ELFW(ELFCLASS,LIBELFBITS); @@ -164,7 +164,7 @@ } out: - RWLOCK_UNLOCK (elf->lock); + rwlock_unlock (elf->lock); return result; }