aboutsummaryrefslogtreecommitdiff
path: root/binutils/od-macho.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/od-macho.c')
-rw-r--r--binutils/od-macho.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/od-macho.c b/binutils/od-macho.c
index 6dc8c4d..ada86b5 100644
--- a/binutils/od-macho.c
+++ b/binutils/od-macho.c
@@ -2259,7 +2259,7 @@ dump_section_content (bfd *abfd,
asection *bfdsec = sec->bfdsection;
unsigned char *content;
- size = bfd_get_section_size (bfdsec);
+ size = bfd_section_size (bfdsec);
content = (unsigned char *) xmalloc (size);
bfd_get_section_contents (abfd, bfdsec, content, 0, size);