Add attribute printf to _bfd_error_handler
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index 72530903a8c476c632b9dcee646a6a095329146d..211f6f9c7e81243885c638b7d470e65de2ba3c99 100644 (file)
@@ -14404,9 +14404,10 @@ _bfd_mips_elf_final_link (bfd *abfd, struct bfd_link_info *info)
          if (o->size != sizeof (Elf32_External_RegInfo))
            {
              _bfd_error_handler
-               (_("%pB: .reginfo section size should be %d bytes, "
-                  "actual size is %d"),
-                abfd, sizeof (Elf32_External_RegInfo), o->size);
+               (_("%pB: .reginfo section size should be %ld bytes, "
+                  "actual size is %" PRId64),
+                abfd, (unsigned long) sizeof (Elf32_External_RegInfo),
+                (int64_t) o->size);
 
              return FALSE;
            }
This page took 0.025629 seconds and 4 git commands to generate.