bfd_error_handler bfd_vma and bfd_size_type args
[deliverable/binutils-gdb.git] / bfd / ihex.c
index a0c704a1c0a380e28390345f440c6229c5dd2a8c..5ec8ce723d349c563564530e6a474527b690a974 100644 (file)
@@ -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;
                    }
This page took 0.031619 seconds and 4 git commands to generate.