aboutsummaryrefslogtreecommitdiff
path: root/bfd/ieee.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ieee.c')
-rw-r--r--bfd/ieee.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/bfd/ieee.c b/bfd/ieee.c
index aac8660..a2d3835 100644
--- a/bfd/ieee.c
+++ b/bfd/ieee.c
@@ -156,8 +156,7 @@ ieee_write_id (bfd *abfd, const char *id)
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%s: string too long (%d chars, max 65535)"),
- bfd_get_filename (abfd), length);
+ (_("%B: string too long (%d chars, max 65535)"), abfd, length);
bfd_set_error (bfd_error_invalid_operation);
return FALSE;
}
@@ -291,9 +290,8 @@ ieee_write_expression (bfd *abfd,
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%s: unrecognized symbol `%s' flags 0x%x"),
- bfd_get_filename (abfd), bfd_asymbol_name (symbol),
- symbol->flags);
+ (_("%B: unrecognized symbol `%s' flags 0x%x"),
+ abfd, bfd_asymbol_name (symbol), symbol->flags);
bfd_set_error (bfd_error_invalid_operation);
return FALSE;
}