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/gelf_update_syminfo.c | |
parent | f729d77881262094d365d33ac51063e25a02e357 (diff) | |
download | elfutils-b4d6f0f8064f2b706ea9035ef0393d8299671390.tar.gz |
Fix up bogon and missing log entries from .pmachata.threads branch.
Diffstat (limited to 'libelf/gelf_update_syminfo.c')
-rw-r--r-- | libelf/gelf_update_syminfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/gelf_update_syminfo.c b/libelf/gelf_update_syminfo.c index 83e92cee..a0e176dc 100644 --- a/libelf/gelf_update_syminfo.c +++ b/libelf/gelf_update_syminfo.c @@ -90,7 +90,7 @@ gelf_update_syminfo (data, ndx, src) assert (sizeof (GElf_Syminfo) == sizeof (Elf64_Syminfo)); scn = data_scn->s; - RWLOCK_WRLOCK (scn->elf->lock); + rwlock_wrlock (scn->elf->lock); /* Check whether we have to resize the data buffer. */ if (unlikely ((ndx + 1) * sizeof (GElf_Syminfo) > data_scn->d.d_size)) @@ -107,7 +107,7 @@ gelf_update_syminfo (data, ndx, src) scn->flags |= ELF_F_DIRTY; out: - RWLOCK_UNLOCK (scn->elf->lock); + rwlock_unlock (scn->elf->lock); return result; } |