* readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.

This commit is contained in:
Alan Modra 2007-10-03 04:24:08 +00:00
parent 6340166c8b
commit 6f08d80e81
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2007-10-03 Masaki Muranaka <monaka@monami-software.com>
* readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.
2007-09-25 Thien-Thi Nguyen <ttn@gnuvola.org>
* MAINTAINERS: Fix typo.

View file

@ -7778,7 +7778,7 @@ dump_section_as_strings (Elf_Internal_Shdr *section, FILE *file)
if (data < end)
{
printf (" [%6zx] %s\n", data - start, data);
printf (" [%6tx] %s\n", data - start, data);
data += strlen (data);
some_strings_shown = TRUE;
}