[binutils-gdb] PR29972, inconsistent format specification in singular form

Alan Modra amodra@sourceware.org
Sun Jan 8 02:42:11 GMT 2023


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

commit 02da71ee20ec71f7b3be85cf2266e09c124983bf
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.

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

diff --git a/binutils/readelf.c b/binutils/readelf.c
index d028f313364..0d9d2017901 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