crash-stack: Fix format specifier 38/194838/2
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 7 Dec 2018 10:02:24 +0000 (11:02 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Tue, 11 Dec 2018 15:51:30 +0000 (16:51 +0100)
Change-Id: Ifdc4a229275b866f5718f0779b1a9cba01d7b1ea

src/crash-stack/proc.c

index fd346c6..da21663 100644 (file)
@@ -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;
             }