summaryrefslogtreecommitdiffstats
path: root/libelf/elf_rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/elf_rand.c')
-rw-r--r--libelf/elf_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/elf_rand.c b/libelf/elf_rand.c
index f1850e7b..c08eadc6 100644
--- a/libelf/elf_rand.c
+++ b/libelf/elf_rand.c
@@ -53,7 +53,7 @@ elf_rand (Elf *elf, size_t offset)
if (__libelf_next_arhdr_wrlock (elf) != 0)
{
/* Mark the archive header as unusable. */
- elf->state.ar.elf_ar_hdr.ar_name = NULL;
+ elf->elf_ar_hdr.ar_name = NULL;
return 0;
}