changeset 3287:29ee40a082d3

7162063: libsaproc debug print should format size_t correctly on 64bit platform Reviewed-by: rbackman, mgronlun, dholmes
author sla
date Mon, 23 Apr 2012 13:30:39 +0200
parents f3a4ee95783b
children f33c4d0f4c9e
files agent/src/os/linux/ps_core.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/agent/src/os/linux/ps_core.c	Fri Apr 20 14:55:45 2012 +0100
+++ b/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);
       }
    }