Fix printf format for 32bit archs.
authorUlrich Drepper <drepper@redhat.com>
Wed, 12 Jul 2006 19:59:02 +0000 (19:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 12 Jul 2006 19:59:02 +0000 (19:59 +0000)
src/ChangeLog
src/elflint.c

index 38d9341..c588cbc 100644 (file)
@@ -1,3 +1,7 @@
+2006-07-12  Ulrich Drepper  <drepper@redhat.com>
+
+       * elflint.c (check_sysv_hash64): Fix printf format.
+
 2006-07-11  Roland McGrath  <roland@redhat.com>
 
        * addr2line.c (options): English fix in -f doc string.
index b0aa9ab..23dae4e 100644 (file)
@@ -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));
 }