diff options
Diffstat (limited to 'libelf/elf_getscn.c')
-rw-r--r-- | libelf/elf_getscn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf_getscn.c b/libelf/elf_getscn.c index 5c14a580..5bcceb63 100644 --- a/libelf/elf_getscn.c +++ b/libelf/elf_getscn.c @@ -73,7 +73,7 @@ elf_getscn (elf, idx) return NULL; } - rwlock_rdlock (elf->lock); + RWLOCK_RDLOCK (elf->lock); Elf_Scn *result = NULL; @@ -103,7 +103,7 @@ elf_getscn (elf, idx) } } - rwlock_unlock (elf->lock); + RWLOCK_UNLOCK (elf->lock); return result; } |