]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
* elf_getarhdr.c (elf_getarhdr): Fix missing rename in last change.
authorRoland McGrath <roland@redhat.com>
Thu, 11 Dec 2008 05:42:06 +0000 (21:42 -0800)
committerRoland McGrath <roland@redhat.com>
Thu, 11 Dec 2008 05:42:06 +0000 (21:42 -0800)
libelf/ChangeLog
libelf/elf_getarhdr.c

index f4da1295210e5f7367b483a45e4b8f4938bd067e..5c603f2f42618cfda92a2badd6c3a9d31010a57d 100644 (file)
@@ -1,3 +1,7 @@
+2008-12-10  Roland McGrath  <roland@redhat.com>
+
+       * elf_getarhdr.c (elf_getarhdr): Fix missing rename in last change.
+
 2008-10-22  Petr Machata  <pmachata@redhat.com>
 
        * elf_rawfile.c (elf_rawfile): Lock around elf-> references.
index 6cc6eddbfcbce96aac7788ab8a07be4bbba1ec29..61e4e0a29adb122eb27b7b74c5de59d1f8166742 100644 (file)
@@ -77,7 +77,7 @@ elf_getarhdr (elf)
 
   /* Make sure we have read the archive header.  */
   if (parent->state.ar.elf_ar_hdr.ar_name == NULL
-      && __libelf_next_arhdr (parent) != 0)
+      && __libelf_next_arhdr_wrlock (parent) != 0)
     {
       rwlock_wrlock (parent->lock);
       int st = __libelf_next_arhdr_wrlock (parent);