From: Ulrich Drepper Date: Wed, 12 Jul 2006 19:59:02 +0000 (+0000) Subject: Fix printf format for 32bit archs. X-Git-Tag: elfutils-0.122~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcf6160602985e6eb70c96c6546ed9614a414d98;p=platform%2Fupstream%2Felfutils.git Fix printf format for 32bit archs. --- diff --git a/src/ChangeLog b/src/ChangeLog index 38d9341..c588cbc 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 b0aa9ab..23dae4e 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)); }