diff options
Diffstat (limited to 'libelf/gelf_getdyn.c')
| -rw-r--r-- | libelf/gelf_getdyn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/gelf_getdyn.c b/libelf/gelf_getdyn.c index 82f8e328..c032e5b2 100644 --- a/libelf/gelf_getdyn.c +++ b/libelf/gelf_getdyn.c @@ -80,7 +80,7 @@ gelf_getdyn (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'. @@ -126,7 +126,7 @@ gelf_getdyn (data, ndx, dst) result = dst; out: - rwlock_unlock (elf->lock); + RWLOCK_UNLOCK (elf->lock); return result; } |
