From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1062) id 4DF8A3858D33; Sun, 8 Jan 2023 03:47:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DF8A3858D33 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Alan Modra To: bfd-cvs@sourceware.org Subject: [binutils-gdb/binutils-2_40-branch] PR29972, inconsistent format specification in singular form X-Act-Checkin: binutils-gdb X-Git-Author: Alan Modra X-Git-Refname: refs/heads/binutils-2_40-branch X-Git-Oldrev: 261a13935c9c290caa620da4d2571d9435eddba5 X-Git-Newrev: 48d455786ce177ed8f8ebe4a868581f591ad81b5 Message-Id: <20230108034707.4DF8A3858D33@sourceware.org> Date: Sun, 8 Jan 2023 03:47:07 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2023 03:47:07 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D48d455786ce1= 77ed8f8ebe4a868581f591ad81b5 commit 48d455786ce177ed8f8ebe4a868581f591ad81b5 Author: Alan Modra Date: Sun Jan 8 13:08:46 2023 +1030 PR29972, inconsistent format specification in singular form =20 PR 29972 * readelf.c (process_dynamic_section): Correct format string. =20 (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 %" P= RId64 " entry:\n", + printf (ngettext ("\nDynamic section at offset %#" PRIx64 " contains %" P= RIu64 " entry:\n", "\nDynamic section at offset %#" PRIx64 " contains %" PRIu64 " entrie= s:\n", filedata->dynamic_nent), filedata->dynamic_addr,