From dcf6160602985e6eb70c96c6546ed9614a414d98 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 12 Jul 2006 19:59:02 +0000 Subject: [PATCH] Fix printf format for 32bit archs. --- src/ChangeLog | 4 ++++ src/elflint.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 38d9341f6..c588cbcfb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-07-12 Ulrich Drepper + + * elflint.c (check_sysv_hash64): Fix printf format. + 2006-07-11 Roland McGrath * addr2line.c (options): English fix in -f doc string. diff --git a/src/elflint.c b/src/elflint.c index b0aa9ab03..23dae4eb2 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)); } -- 2.47.2