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/elf_newdata.c | |
| parent | f729d77881262094d365d33ac51063e25a02e357 (diff) | |
Fix up bogon and missing log entries from .pmachata.threads branch.
Diffstat (limited to 'libelf/elf_newdata.c')
| -rw-r--r-- | libelf/elf_newdata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf_newdata.c b/libelf/elf_newdata.c index 1f42204d..db17ea58 100644 --- a/libelf/elf_newdata.c +++ b/libelf/elf_newdata.c @@ -83,7 +83,7 @@ elf_newdata (Elf_Scn *scn) return NULL; } - RWLOCK_WRLOCK (scn->elf->lock); + rwlock_wrlock (scn->elf->lock); if (scn->data_read && scn->data_list_rear == NULL) { @@ -122,7 +122,7 @@ elf_newdata (Elf_Scn *scn) scn->data_list_rear = result; out: - RWLOCK_UNLOCK (scn->elf->lock); + rwlock_unlock (scn->elf->lock); /* Please note that the following is thread safe and is also defined for RESULT == NULL since it still return NULL. */ |
