summaryrefslogtreecommitdiff
path: root/bfd/rs6000-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/rs6000-core.c')
-rw-r--r--bfd/rs6000-core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/rs6000-core.c b/bfd/rs6000-core.c
index 6951e671e5a..00cc3c0a891 100644
--- a/bfd/rs6000-core.c
+++ b/bfd/rs6000-core.c
@@ -468,8 +468,7 @@ rs6000coff_core_p (bfd *abfd)
/* Issue warning if the core file was truncated during writing. */
if (c_flag & CORE_TRUNC)
- _bfd_error_handler (_("%s: warning core file truncated"),
- bfd_get_filename (abfd));
+ _bfd_error_handler (_("%B: warning core file truncated"), abfd);
/* Allocate core file header. */
#ifndef BFD64