aboutsummaryrefslogtreecommitdiff
path: root/bfd/binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/binary.c')
-rw-r--r--bfd/binary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/binary.c b/bfd/binary.c
index 65fe26f..c31ef3c 100644
--- a/bfd/binary.c
+++ b/bfd/binary.c
@@ -103,7 +103,7 @@ binary_get_section_contents (bfd *abfd,
bfd_size_type count)
{
if (bfd_seek (abfd, section->filepos + offset, SEEK_SET) != 0
- || bfd_bread (location, count, abfd) != count)
+ || bfd_read (location, count, abfd) != count)
return false;
return true;
}