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_move.c | |
parent | f729d77881262094d365d33ac51063e25a02e357 (diff) |
Fix up bogon and missing log entries from .pmachata.threads branch.
Diffstat (limited to 'libelf/gelf_update_move.c')
-rw-r--r-- | libelf/gelf_update_move.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/gelf_update_move.c b/libelf/gelf_update_move.c index 11bc8342..fd67be10 100644 --- a/libelf/gelf_update_move.c +++ b/libelf/gelf_update_move.c @@ -89,14 +89,14 @@ gelf_update_move (data, ndx, src) return 0; } - RWLOCK_WRLOCK (data_scn->s->elf->lock); + rwlock_wrlock (data_scn->s->elf->lock); ((GElf_Move *) data_scn->d.d_buf)[ndx] = *src; /* Mark the section as modified. */ data_scn->s->flags |= ELF_F_DIRTY; - RWLOCK_UNLOCK (data_scn->s->elf->lock); + rwlock_unlock (data_scn->s->elf->lock); return 1; } |