summaryrefslogtreecommitdiffstats
path: root/bfd/srec.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/srec.c')
-rw-r--r--bfd/srec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/srec.c b/bfd/srec.c
index 54706acb8c..5cb83caedd 100644
--- a/bfd/srec.c
+++ b/bfd/srec.c
@@ -300,7 +300,7 @@ srec_bad_byte (abfd, lineno, c, error)
}
(*_bfd_error_handler)
(_("%s:%d: Unexpected character `%s' in S-record file\n"),
- bfd_get_filename (abfd), lineno, buf);
+ bfd_archive_filename (abfd), lineno, buf);
bfd_set_error (bfd_error_bad_value);
}
}
OpenPOWER on IntegriCloud