summaryrefslogtreecommitdiffstats
path: root/src/elflint.c
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 /src/elflint.c
parent077c65f3be02e5d01b0c4dea3f6c854077d156fc (diff)
Fix printf format for 32bit archs.
Diffstat (limited to 'src/elflint.c')
-rw-r--r--src/elflint.c4
1 files changed, 2 insertions, 2 deletions
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));
}