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/gelf_update_ehdr.c | |
parent | f729d77881262094d365d33ac51063e25a02e357 (diff) |
Fix up bogon and missing log entries from .pmachata.threads branch.
Diffstat (limited to 'libelf/gelf_update_ehdr.c')
-rw-r--r-- | libelf/gelf_update_ehdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/gelf_update_ehdr.c b/libelf/gelf_update_ehdr.c index 2da292c3..4d5c2b6c 100644 --- a/libelf/gelf_update_ehdr.c +++ b/libelf/gelf_update_ehdr.c @@ -72,7 +72,7 @@ gelf_update_ehdr (Elf *elf, GElf_Ehdr *src) return 0; } - RWLOCK_WRLOCK (elf->lock); + rwlock_wrlock (elf->lock); if (elf->class == ELFCLASS32) { @@ -130,7 +130,7 @@ gelf_update_ehdr (Elf *elf, GElf_Ehdr *src) result = 1; out: - RWLOCK_UNLOCK (elf->lock); + rwlock_unlock (elf->lock); return result; } |