From b4d6f0f8064f2b706ea9035ef0393d8299671390 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 25 Aug 2008 22:55:17 +0000 Subject: Fix up bogon and missing log entries from .pmachata.threads branch. --- libelf/gelf_update_dyn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libelf/gelf_update_dyn.c') diff --git a/libelf/gelf_update_dyn.c b/libelf/gelf_update_dyn.c index fce00bb9..10bfb6ab 100644 --- a/libelf/gelf_update_dyn.c +++ b/libelf/gelf_update_dyn.c @@ -85,7 +85,7 @@ gelf_update_dyn (data, ndx, src) } scn = data_scn->s; - RWLOCK_WRLOCK (scn->elf->lock); + rwlock_wrlock (scn->elf->lock); if (scn->elf->class == ELFCLASS32) { @@ -131,7 +131,7 @@ gelf_update_dyn (data, ndx, src) scn->flags |= ELF_F_DIRTY; out: - RWLOCK_UNLOCK (scn->elf->lock); + rwlock_unlock (scn->elf->lock); return result; } -- cgit v1.2.1