[binutils-gdb/binutils-2_40-branch] PR29972, inconsistent format specification in singular form

Alan Modra amodra@sourceware.org
Sun Jan 8 03:47:07 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=48d455786ce177ed8f8ebe4a868581f591ad81b5

commit 48d455786ce177ed8f8ebe4a868581f591ad81b5
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Jan 8 13:08:46 2023 +1030

    PR29972, inconsistent format specification in singular form
    
            PR 29972
            * readelf.c (process_dynamic_section): Correct format string.
    
    (cherry picked from commit 02da71ee20ec71f7b3be85cf2266e09c124983bf)

Diff:
---
 binutils/readelf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/binutils/readelf.c b/binutils/readelf.c
index e5632a68737..3da3db159cc 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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,


More information about the Binutils-cvs mailing list