diff options
Diffstat (limited to 'libelf/gelf_update_lib.c')
-rw-r--r-- | libelf/gelf_update_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/gelf_update_lib.c b/libelf/gelf_update_lib.c index 9571016f..46409f33 100644 --- a/libelf/gelf_update_lib.c +++ b/libelf/gelf_update_lib.c @@ -83,7 +83,7 @@ gelf_update_lib (data, ndx, src) } Elf_Scn *scn = data_scn->s; - rwlock_wrlock (scn->elf->lock); + RWLOCK_WRLOCK (scn->elf->lock); /* Check whether we have to resize the data buffer. */ int result = 0; @@ -99,7 +99,7 @@ gelf_update_lib (data, ndx, src) scn->flags |= ELF_F_DIRTY; } - rwlock_unlock (scn->elf->lock); + RWLOCK_UNLOCK (scn->elf->lock); return result; } |