summaryrefslogtreecommitdiffstats
path: root/libelf/elf32_newphdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/elf32_newphdr.c')
-rw-r--r--libelf/elf32_newphdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libelf/elf32_newphdr.c b/libelf/elf32_newphdr.c
index d1b16088..bc937852 100644
--- a/libelf/elf32_newphdr.c
+++ b/libelf/elf32_newphdr.c
@@ -79,7 +79,7 @@ elfw2(LIBELFBITS,newphdr) (elf, count)
return NULL;
}
- rwlock_wrlock (elf->lock);
+ RWLOCK_WRLOCK (elf->lock);
if (elf->class == 0)
elf->class = ELFW(ELFCLASS,LIBELFBITS);
@@ -164,7 +164,7 @@ elfw2(LIBELFBITS,newphdr) (elf, count)
}
out:
- rwlock_unlock (elf->lock);
+ RWLOCK_UNLOCK (elf->lock);
return result;
}