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:40:16 +0000 (13:10 +1030)
PR 29972
* readelf.c (process_dynamic_section): Correct format string.

binutils/readelf.c

index d028f3133642cee95e1bda20ca47e25e777253e7..0d9d2017901a2296fa856b8e32165d5c687aad03 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,