Use %A and %B in more error messages
[deliverable/binutils-gdb.git] / bfd / ieee.c
index aac86608d55d29d528833fb07f653292c7e4eba7..a2d38352db44a04c8c58afe2081aaf640c319d87 100644 (file)
@@ -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;
            }
This page took 0.023762 seconds and 4 git commands to generate.