aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-10-03 04:24:08 +0000
committerAlan Modra <amodra@gmail.com>2007-10-03 04:24:08 +0000
commit6f08d80e81cc9b0b99abdd60a25d65ad09c75ffc (patch)
tree30240d0488854e20b2ea43c63995be3a192eb320 /binutils/readelf.c
parent6340166c8b339b88f1baeff8a3703bf09ed7ce1c (diff)
downloadgdb-6f08d80e81cc9b0b99abdd60a25d65ad09c75ffc.zip
gdb-6f08d80e81cc9b0b99abdd60a25d65ad09c75ffc.tar.gz
gdb-6f08d80e81cc9b0b99abdd60a25d65ad09c75ffc.tar.bz2
* readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index e51e8b0..191042e 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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;
}