summaryrefslogtreecommitdiff
path: root/bfd/elf64-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf64-gen.c')
-rw-r--r--bfd/elf64-gen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/elf64-gen.c b/bfd/elf64-gen.c
index be1dc3e00ed..6b9e22f68d7 100644
--- a/bfd/elf64-gen.c
+++ b/bfd/elf64-gen.c
@@ -80,9 +80,8 @@ elf64_generic_link_add_symbols (abfd, info)
Elf_Internal_Ehdr *ehdrp;
ehdrp = elf_elfheader (abfd);
- (*_bfd_error_handler) (_("%s: Relocations in generic ELF (EM: %d)"),
- bfd_archive_filename (abfd),
- ehdrp->e_machine);
+ (*_bfd_error_handler) (_("%B: Relocations in generic ELF (EM: %d)"),
+ abfd, ehdrp->e_machine);
bfd_set_error (bfd_error_wrong_format);
return FALSE;