summaryrefslogtreecommitdiff
path: root/bfd/aout-cris.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/aout-cris.c')
-rw-r--r--bfd/aout-cris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/aout-cris.c b/bfd/aout-cris.c
index ab92df5c9b..1a861230a0 100644
--- a/bfd/aout-cris.c
+++ b/bfd/aout-cris.c
@@ -249,7 +249,7 @@ MY(swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount)
if (r_type > 2)
{
(*_bfd_error_handler) (_("%s: Invalid relocation type imported: %d"),
- bfd_get_filename (abfd), r_type);
+ bfd_archive_filename (abfd), r_type);
bfd_set_error(bfd_error_wrong_format);
}
@@ -260,7 +260,7 @@ MY(swap_ext_reloc_in) (abfd, bytes, cache_ptr, symbols, symcount)
{
(*_bfd_error_handler)
(_("%s: Bad relocation record imported: %d"),
- bfd_get_filename (abfd), r_index);
+ bfd_archive_filename (abfd), r_index);
bfd_set_error (bfd_error_wrong_format);