7162063: libsaproc debug print should format size_t correctly on 64bit platform
Reviewed-by: rbackman, mgronlun, dholmes
--- a/hotspot/agent/src/os/linux/ps_core.c Fri Apr 20 14:55:45 2012 +0100
+++ b/hotspot/agent/src/os/linux/ps_core.c Mon Apr 23 13:30:39 2012 +0200
@@ -440,7 +440,7 @@
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);
}
}