From 770ef44c466bf977da8d63ac4b5153f926bdf7a8 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Fri, 7 Dec 2018 11:02:24 +0100 Subject: [PATCH] crash-stack: Fix format specifier Change-Id: Ifdc4a229275b866f5718f0779b1a9cba01d7b1ea --- src/crash-stack/proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crash-stack/proc.c b/src/crash-stack/proc.c index fd346c6..da21663 100644 --- a/src/crash-stack/proc.c +++ b/src/crash-stack/proc.c @@ -472,8 +472,8 @@ static int copy_memory_proc_mem(int pid, struct mem_data_chunk **frames, ssize_t rd = pread(fd, to, count, from); if (rd == -1) { - _E("pread() at %s:0x%lx (#%d) failed: %m [%d]", - fname, from, i, errno); + _E("pread() at %s:0x%llx (#%d) failed: %m [%d]", + fname, from, i, errno); goto proc_mem_end; } -- 2.7.4