Add attribute printf to _bfd_error_handler
[deliverable/binutils-gdb.git] / bfd / elf-attrs.c
index 330c621dbf534d82cbb0a55c1fac3437b98bb9c6..670012a9f293ff0f8133ef1b3b90e255021fe722 100644 (file)
@@ -472,8 +472,9 @@ _bfd_elf_parse_attributes (bfd *abfd, Elf_Internal_Shdr * hdr)
          len -= section_len;
          if (section_len <= 4)
            {
-             _bfd_error_handler (_("%pB: error: attribute section length too small: %ld"),
-                                 abfd, section_len);
+             _bfd_error_handler
+               (_("%pB: error: attribute section length too small: %" PRId64),
+                abfd, (int64_t) section_len);
              break;
            }
          section_len -= 4;
This page took 0.031475 seconds and 4 git commands to generate.