PR29972, inconsistent format specification in singular form
authorAlan Modra <amodra@gmail.com>
Sun, 8 Jan 2023 02:38:46 +0000 (13:08 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 8 Jan 2023 02:42:43 +0000 (13:12 +1030)
PR 29972
* readelf.c (process_dynamic_section): Correct format string.

(cherry picked from commit 02da71ee20ec71f7b3be85cf2266e09c124983bf)

binutils/readelf.c

index e5632a6..3da3db1 100644 (file)
@@ -11551,7 +11551,7 @@ the .dynstr section doesn't match the DT_STRTAB and DT_STRSZ tags\n"));
                filedata->dynamic_addr,
                filedata->dynamic_nent);
       else
-       printf (ngettext ("\nDynamic section at offset %#" PRIx64 " contains %" PRId64 " entry:\n",
+       printf (ngettext ("\nDynamic section at offset %#" PRIx64 " contains %" PRIu64 " entry:\n",
                          "\nDynamic section at offset %#" PRIx64 " contains %" PRIu64 " entries:\n",
                          filedata->dynamic_nent),
                filedata->dynamic_addr,