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 6c4fec3b..fd5b47b9 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; } |