summaryrefslogtreecommitdiffstats
path: root/libelf/gelf_update_verdaux.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/gelf_update_verdaux.c')
-rw-r--r--libelf/gelf_update_verdaux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/gelf_update_verdaux.c b/libelf/gelf_update_verdaux.c
index 17866efc..f1875c2d 100644
--- a/libelf/gelf_update_verdaux.c
+++ b/libelf/gelf_update_verdaux.c
@@ -89,14 +89,14 @@ gelf_update_verdaux (data, offset, src)
return 0;
}
- rwlock_wrlock (data_scn->s->elf->lock);
+ RWLOCK_WRLOCK (data_scn->s->elf->lock);
memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verdaux));
/* Mark the section as modified. */
data_scn->s->flags |= ELF_F_DIRTY;
- rwlock_unlock (data_scn->s->elf->lock);
+ RWLOCK_UNLOCK (data_scn->s->elf->lock);
return 1;
}