From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44321 invoked by alias); 10 Jul 2019 19:06:48 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 44311 invoked by uid 89); 10 Jul 2019 19:06:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1145 X-Spam-Status: No, score=-26.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: mx1.suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Date: Tue, 01 Jan 2019 00:00:00 -0000 From: Tom de Vries To: dwz@sourceware.org, jakub@redhat.com Subject: [committed] Fix error message in calculate_section_distance Message-ID: <20190710190641.GA14572@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2019-q3/txt/msg00067.txt.bz2 Hi, Two error messages in calculate_section_distance contain '0x%lld', which should be (given the 0x prefix) '0x%llx'. Fix this. Committed to trunk. Thanks, - Tom Fix error message in calculate_section_distance 2019-07-10 Tom de Vries * dwz.c (calculate_section_distance): Replace '0x%lld' with '0x%llx' in error message. --- dwz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwz.c b/dwz.c index 4457f8c..cd382b9 100644 --- a/dwz.c +++ b/dwz.c @@ -10525,11 +10525,11 @@ calculate_section_distance (DSO *dso, unsigned int *sorted_section_numbers, { error (0, 0, "Section overlap detected"); if (prev == dso->ehdr.e_shnum) - error (0, 0, "Section header table: [0x%llx, 0x%lld)", + error (0, 0, "Section header table: [0x%llx, 0x%llx)", (unsigned long long)prev_offset, (unsigned long long)(prev_offset + prev_size)); else - error (0, 0, "Section %d: [0x%llx, 0x%lld)", j, + error (0, 0, "Section %d: [0x%llx, 0x%llx)", j, (unsigned long long)prev_offset, (unsigned long long)(prev_offset + prev_size)); if (j == dso->ehdr.e_shnum)