diff options
author | Petr Machata <pmachata@redhat.com> | 2012-08-01 21:43:58 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-08-07 14:37:32 +0200 |
commit | 836db608432ba50f76c0a63ec7bd05694341a1d4 (patch) | |
tree | 66aea23d83e7dfd7f651c82d9d2031eb4e1c9ae7 | |
parent | 30a941ca9f463d0d862e5c3dfdb5a867fd2dcb40 (diff) | |
download | elfutils-836db608432ba50f76c0a63ec7bd05694341a1d4.tar.gz |
Fix formatting string in readelf
This caused failures of 32-bit builds.
Signed-off-by: Petr Machata <pmachata@redhat.com>
-rw-r--r-- | src/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readelf.c b/src/readelf.c index 3a27f8f0..9aaf4ece 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -6819,7 +6819,7 @@ print_debug_macro_section (Dwfl_Module *dwflmod __attribute__ ((unused)), while (readp < readendp) { - printf (gettext (" Offset: 0x%" PRIx64 "\n"), + printf (gettext (" Offset: 0x%zx\n"), readp - (const unsigned char *) data->d_buf); // Header, 2 byte version, 1 byte flag, optional .debug_line offset, |