diff options
Diffstat (limited to 'libelf/elf_cntl.c')
| -rw-r--r-- | libelf/elf_cntl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf_cntl.c b/libelf/elf_cntl.c index fd5b47b9..6c4fec3b 100644 --- a/libelf/elf_cntl.c +++ b/libelf/elf_cntl.c @@ -73,7 +73,7 @@ elf_cntl (elf, cmd) return -1; } - rwlock_wrlock (elf->lock); + RWLOCK_WRLOCK (elf->lock); switch (cmd) { @@ -98,7 +98,7 @@ elf_cntl (elf, cmd) break; } - rwlock_unlock (elf->lock); + RWLOCK_UNLOCK (elf->lock); return result; } |
