From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from barracuda.ebox.ca (barracuda.ebox.ca [96.127.255.19]) by sourceware.org (Postfix) with ESMTPS id 962323858D28 for ; Fri, 25 Feb 2022 22:24:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 962323858D28 X-ASG-Debug-ID: 1645827869-0c856e06ab583050001-Lwtx7q Received: from smtp.ebox.ca (smtp.ebox.ca [96.127.255.82]) by barracuda.ebox.ca with ESMTP id MFOwD0ybrWDprXV3 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Feb 2022 17:24:29 -0500 (EST) X-Barracuda-Envelope-From: simon.marchi@polymtl.ca X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from simark.localdomain (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) by smtp.ebox.ca (Postfix) with ESMTP id 2FC90441B21; Fri, 25 Feb 2022 17:24:29 -0500 (EST) From: Simon Marchi X-Barracuda-RBL-IP: 192.222.157.6 X-Barracuda-Effective-Source-IP: 192-222-157-6.qc.cable.ebox.net[192.222.157.6] X-Barracuda-Apparent-Source-IP: 192.222.157.6 To: binutils@sourceware.org Cc: Simon Marchi Subject: [PATCH] binutils/readelf: fix indentation in process_dynamic_section Date: Fri, 25 Feb 2022 17:24:28 -0500 X-ASG-Orig-Subj: [PATCH] binutils/readelf: fix indentation in process_dynamic_section Message-Id: <20220225222428.1429817-1-simon.marchi@polymtl.ca> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Barracuda-Connect: smtp.ebox.ca[96.127.255.82] X-Barracuda-Start-Time: 1645827869 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at ebox.ca X-Barracuda-Scan-Msg-Size: 1329 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.96282 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-3613.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_QUARANTINE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2022 22:24:45 -0000 Clangd shows a warning about misleading indentation in this file, fix it. Change-Id: I43a7f4f4c75dd080af614222b980526f5debf297 --- binutils/readelf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/binutils/readelf.c b/binutils/readelf.c index b208db593342..16efe1dfd2db 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -11297,12 +11297,12 @@ the .dynstr section doesn't match the DT_STRTAB and DT_STRSZ tags\n")); filedata->file_name, filedata->dynamic_addr, (unsigned long) filedata->dynamic_nent); - else - printf (ngettext ("\nDynamic section at offset 0x%lx contains %lu entry:\n", - "\nDynamic section at offset 0x%lx contains %lu entries:\n", - (unsigned long) filedata->dynamic_nent), - filedata->dynamic_addr, - (unsigned long) filedata->dynamic_nent); + else + printf (ngettext ("\nDynamic section at offset 0x%lx contains %lu entry:\n", + "\nDynamic section at offset 0x%lx contains %lu entries:\n", + (unsigned long) filedata->dynamic_nent), + filedata->dynamic_addr, + (unsigned long) filedata->dynamic_nent); } if (do_dynamic) printf (_(" Tag Type Name/Value\n")); base-commit: 820ed8af6a757408873d8955a2db03b0989fdaeb -- 2.35.1