diff options
Diffstat (limited to 'libelf/elf_getshstrndx.c')
-rw-r--r-- | libelf/elf_getshstrndx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf_getshstrndx.c b/libelf/elf_getshstrndx.c index 52516a8e..9d0d27b8 100644 --- a/libelf/elf_getshstrndx.c +++ b/libelf/elf_getshstrndx.c @@ -79,7 +79,7 @@ elf_getshstrndx (elf, dst) return -1; } - rwlock_rdlock (elf->lock); + RWLOCK_RDLOCK (elf->lock); /* We rely here on the fact that the `elf' element is a common prefix of `elf32' and `elf64'. */ @@ -196,7 +196,7 @@ elf_getshstrndx (elf, dst) } out: - rwlock_unlock (elf->lock); + RWLOCK_UNLOCK (elf->lock); return result; } |