aboutsummaryrefslogtreecommitdiff
path: root/bfd/ihex.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ihex.c')
-rw-r--r--bfd/ihex.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/bfd/ihex.c b/bfd/ihex.c
index a0c704a..5ec8ce7 100644
--- a/bfd/ihex.c
+++ b/bfd/ihex.c
@@ -825,13 +825,10 @@ ihex_write_object_contents (bfd *abfd)
extbase = where & 0xffff0000;
if (where > extbase + 0xffff)
{
- char buf[20];
-
- sprintf_vma (buf, where);
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: address 0x%s out of range for Intel Hex file"),
- abfd, buf);
+ (_("%B: address %#Lx out of range for Intel Hex file"),
+ abfd, where);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}