* [committed] Fix error message in calculate_section_distance
@ 2019-01-01 0:00 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-01-01 0:00 UTC (permalink / raw)
To: dwz, jakub
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 <tdevries@suse.de>
* 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-10 19:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01 0:00 [committed] Fix error message in calculate_section_distance Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).