diff options
author | Roland McGrath <roland@redhat.com> | 2008-08-25 22:55:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2008-08-25 22:55:17 +0000 |
commit | b4d6f0f8064f2b706ea9035ef0393d8299671390 (patch) | |
tree | 58d3da51253302bc5b8f2198d8462942ff43f464 /libelf/elf_newscn.c | |
parent | f729d77881262094d365d33ac51063e25a02e357 (diff) | |
download | android_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_newscn.c')
-rw-r--r-- | libelf/elf_newscn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf_newscn.c b/libelf/elf_newscn.c index da4ca723..aefab334 100644 --- a/libelf/elf_newscn.c +++ b/libelf/elf_newscn.c @@ -80,7 +80,7 @@ elf_newscn (elf) assert (offsetof (Elf, state.elf32.scns) == offsetof (Elf, state.elf64.scns)); - RWLOCK_WRLOCK (elf->lock); + rwlock_wrlock (elf->lock); again: if (elf->state.elf.scns_last->cnt < elf->state.elf.scns_last->max) @@ -170,7 +170,7 @@ elf_newscn (elf) result->flags |= ELF_F_DIRTY; out: - RWLOCK_UNLOCK (elf->lock); + rwlock_unlock (elf->lock); return result; } |