summaryrefslogtreecommitdiffstats
path: root/libelf/elf_rawdata.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-08-25 22:55:17 +0000
committerRoland McGrath <roland@redhat.com>2008-08-25 22:55:17 +0000
commitb4d6f0f8064f2b706ea9035ef0393d8299671390 (patch)
tree58d3da51253302bc5b8f2198d8462942ff43f464 /libelf/elf_rawdata.c
parentf729d77881262094d365d33ac51063e25a02e357 (diff)
downloadandroid_external_elfutils-b4d6f0f8064f2b706ea9035ef0393d8299671390.tar.gz
android_external_elfutils-b4d6f0f8064f2b706ea9035ef0393d8299671390.tar.bz2
android_external_elfutils-b4d6f0f8064f2b706ea9035ef0393d8299671390.zip
Fix up bogon and missing log entries from .pmachata.threads branch.
Diffstat (limited to 'libelf/elf_rawdata.c')
-rw-r--r--libelf/elf_rawdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/elf_rawdata.c b/libelf/elf_rawdata.c
index b8be27c7..b8bb0f4b 100644
--- a/libelf/elf_rawdata.c
+++ b/libelf/elf_rawdata.c
@@ -88,7 +88,7 @@ elf_rawdata (scn, data)
/* First thing we do is to read the data from the file. There is
always a file (or memory region) associated with this descriptor
since otherwise the `data_read' flag would be set. */
- if (__libelf_set_rawdata (scn, LS_UNLOCKED) != 0)
+ if (__libelf_set_rawdata (scn) != 0)
/* Something went wrong. The error value is already set. */
return NULL;
}