summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/elflint.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 38d9341f..c588cbcf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-12 Ulrich Drepper <[email protected]>
+
+ * elflint.c (check_sysv_hash64): Fix printf format.
+
2006-07-11 Roland McGrath <[email protected]>
* addr2line.c (options): English fix in -f doc string.
diff --git a/src/elflint.c b/src/elflint.c
index b0aa9ab0..23dae4eb 100644
--- a/src/elflint.c
+++ b/src/elflint.c
@@ -1886,8 +1886,8 @@ section [%2d] '%s': hash bucket reference %zu out of bounds\n"),
for (; cnt < 2 + nbucket + nchain; ++cnt)
if (((Elf64_Xword *) data->d_buf)[cnt] >= maxidx)
ERROR (gettext ("\
-section [%2d] '%s': hash chain reference %zu out of bounds\n"),
- idx, section_name (ebl, idx), cnt - 2 - nbucket);
+section [%2d] '%s': hash chain reference %" PRIu64 " out of bounds\n"),
+ idx, section_name (ebl, idx), (uint64_t) (cnt - 2 - nbucket));
}