diff options
Diffstat (limited to 'bfd/hppabsd-core.c')
-rw-r--r-- | bfd/hppabsd-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/hppabsd-core.c b/bfd/hppabsd-core.c index b9abc1a..4410db7 100644 --- a/bfd/hppabsd-core.c +++ b/bfd/hppabsd-core.c @@ -100,7 +100,7 @@ hppabsd_core_core_file_p (bfd *abfd) /* Try to read in the u-area. We will need information from this to know how to grok the rest of the core structures. */ - val = bfd_bread ((void *) &u, (bfd_size_type) sizeof u, abfd); + val = bfd_read (&u, sizeof u, abfd); if (val != sizeof u) { if (bfd_get_error () != bfd_error_system_call) |