summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2006-07-12 19:59:02 +0000
committerUlrich Drepper <[email protected]>2006-07-12 19:59:02 +0000
commitdcf6160602985e6eb70c96c6546ed9614a414d98 (patch)
treec569dbb2ba1b3a9ae2799dc0271509fddcf44f7b
parent077c65f3be02e5d01b0c4dea3f6c854077d156fc (diff)
Fix printf format for 32bit archs.
-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));
}