diff options
Diffstat (limited to 'bfd/bfdwin.c')
-rw-r--r-- | bfd/bfdwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfdwin.c b/bfd/bfdwin.c index 5ecf2f9..6b4ea5c 100644 --- a/bfd/bfdwin.c +++ b/bfd/bfdwin.c @@ -292,7 +292,7 @@ bfd_get_file_window (bfd *abfd, i->refcount = 1; if (bfd_seek (abfd, offset, SEEK_SET) != 0) goto free_and_fail; - i->size = bfd_bread (i->data, size, abfd); + i->size = bfd_read (i->data, size, abfd); if (i->size != size) goto free_and_fail; i->mapped = 0; |