diff options
author | Elliott Hughes <enh@google.com> | 2021-05-19 10:45:44 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-05-19 18:05:47 -0500 |
commit | b024b85151d6c3ec1c08bd63ae381aef3d4a840c (patch) | |
tree | b0c45545b1d5558dc4f5d81dd9ccbe8d4a92f1ea /toys | |
parent | 22172726c38c3be0b6828b8b180aceec60130a69 (diff) | |
download | toybox-b024b85151d6c3ec1c08bd63ae381aef3d4a840c.tar.gz |
readelf: fix 32-bit build on Android.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/other/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/readelf.c b/toys/other/readelf.c index 45afd83a..29e27244 100644 --- a/toys/other/readelf.c +++ b/toys/other/readelf.c @@ -57,7 +57,7 @@ static long long elf_get(char **p, int len) long long result; if (*p+len-TT.elf>TT.size) - perror_exit("Access off end: %ld[%d] of %lld\n", *p-TT.elf, len, TT.size); + perror_exit("Access off end: %td[%d] of %lld\n", *p-TT.elf, len, TT.size); result = ((TT.endian == 2) ? peek_be : peek_le)(*p, len); *p += len; |