diff --git a/agent/src/os/linux/ps_core.c b/agent/src/os/linux/ps_core.c index 6c229da7b7980a09a8aa8683081c3ea3a1daf2f3..160e25fd387fd1dd46d297f767a24b4cc1d4dbf3 100644 --- a/agent/src/os/linux/ps_core.c +++ b/agent/src/os/linux/ps_core.c @@ -440,7 +440,7 @@ static bool sort_map_array(struct ps_prochandle* ph) { int j = 0; print_debug("---- sorted virtual address map ----\n"); for (j = 0; j < ph->core->num_maps; j++) { - print_debug("base = 0x%lx\tsize = %zd\n", ph->core->map_array[j]->vaddr, + print_debug("base = 0x%lx\tsize = %zu\n", ph->core->map_array[j]->vaddr, ph->core->map_array[j]->memsz); } }