diff options
| author | Roland McGrath <[email protected]> | 2008-08-25 22:55:17 +0000 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2008-08-25 22:55:17 +0000 |
| commit | b4d6f0f8064f2b706ea9035ef0393d8299671390 (patch) | |
| tree | 58d3da51253302bc5b8f2198d8462942ff43f464 /libelf/elf32_newphdr.c | |
| parent | f729d77881262094d365d33ac51063e25a02e357 (diff) | |
Fix up bogon and missing log entries from .pmachata.threads branch.
Diffstat (limited to 'libelf/elf32_newphdr.c')
| -rw-r--r-- | libelf/elf32_newphdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf32_newphdr.c b/libelf/elf32_newphdr.c index bc937852..d1b16088 100644 --- a/libelf/elf32_newphdr.c +++ b/libelf/elf32_newphdr.c @@ -79,7 +79,7 @@ elfw2(LIBELFBITS,newphdr) (elf, count) return NULL; } - RWLOCK_WRLOCK (elf->lock); + rwlock_wrlock (elf->lock); if (elf->class == 0) elf->class = ELFW(ELFCLASS,LIBELFBITS); @@ -164,7 +164,7 @@ elfw2(LIBELFBITS,newphdr) (elf, count) } out: - RWLOCK_UNLOCK (elf->lock); + rwlock_unlock (elf->lock); return result; } |
