On 5/19/21 12:46 PM, enh via Toybox wrote:
>
> ---
> toys/other/readelf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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);
Applied, but you do realize it's the same everywhere except Windows, right?
(LP64.)
Rob
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net