diff options
Diffstat (limited to 'libelf/gelf_getauxv.c')
-rw-r--r-- | libelf/gelf_getauxv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/gelf_getauxv.c b/libelf/gelf_getauxv.c index 036bdccf..450e81b1 100644 --- a/libelf/gelf_getauxv.c +++ b/libelf/gelf_getauxv.c @@ -79,7 +79,7 @@ gelf_getauxv (data, ndx, dst) elf = data_scn->s->elf; - rwlock_rdlock (elf->lock); + RWLOCK_RDLOCK (elf->lock); /* This is the one place where we have to take advantage of the fact that an `Elf_Data' pointer is also a pointer to `Elf_Data_Scn'. @@ -124,7 +124,7 @@ gelf_getauxv (data, ndx, dst) result = dst; out: - rwlock_unlock (elf->lock); + RWLOCK_UNLOCK (elf->lock); return result; } |