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_begin.c | |
| parent | f729d77881262094d365d33ac51063e25a02e357 (diff) | |
Fix up bogon and missing log entries from .pmachata.threads branch.
Diffstat (limited to 'libelf/elf_begin.c')
| -rw-r--r-- | libelf/elf_begin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf_begin.c b/libelf/elf_begin.c index 1ce8c6a2..b95b06bf 100644 --- a/libelf/elf_begin.c +++ b/libelf/elf_begin.c @@ -1005,7 +1005,7 @@ elf_begin (fildes, cmd, ref) if (ref != NULL) /* Make sure the descriptor is not suddenly going away. */ - RWLOCK_RDLOCK (ref->lock); + rwlock_rdlock (ref->lock); else if (unlikely (fcntl (fildes, F_GETFL) == -1 && errno == EBADF)) { /* We cannot do anything productive without a file descriptor. */ @@ -1077,7 +1077,7 @@ elf_begin (fildes, cmd, ref) /* Release the lock. */ if (ref != NULL) - RWLOCK_UNLOCK (ref->lock); + rwlock_unlock (ref->lock); return retval; } |
