aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index c1f3fca..a3c522c 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -493,7 +493,7 @@ CODE_FRAGMENT
.bfd_get_section_limit (const bfd *abfd, const asection *sec)
.{
. return (bfd_get_section_limit_octets (abfd, sec)
-. / bfd_octets_per_byte (abfd, NULL));
+. / bfd_octets_per_byte (abfd, sec));
.}
.
.{* Functions to handle insertion and deletion of a bfd's sections. These