diff options
Diffstat (limited to 'libelf/elf_rawdata.c')
-rw-r--r-- | libelf/elf_rawdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/elf_rawdata.c b/libelf/elf_rawdata.c index b8bb0f4b..b8be27c7 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) != 0) + if (__libelf_set_rawdata (scn, LS_UNLOCKED) != 0) /* Something went wrong. The error value is already set. */ return NULL; } |