diff options
Diffstat (limited to 'examples/procmap.c')
-rw-r--r-- | examples/procmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/procmap.c b/examples/procmap.c index b32555bd..25bd2f79 100644 --- a/examples/procmap.c +++ b/examples/procmap.c @@ -162,10 +162,10 @@ main (int argc, char *argv []) fputc('\n', stderr); - g_print("smaps flags:%#llx size:%lluKiB rss:%lluKiB " - "shared_clean:%lluKib shared_dirty:%lluKiB " - "private_clean:%lluKiB private_dirty: %lluKiB\n", - maps[i].flags, + g_print("smaps flags:%#llx size:%" G_GUINT64_FORMAT "KiB rss:%" G_GUINT64_FORMAT "KiB " + "shared_clean:%" G_GUINT64_FORMAT "Kib shared_dirty:%" G_GUINT64_FORMAT "KiB " + "private_clean:%" G_GUINT64_FORMAT "KiB private_dirty: %" G_GUINT64_FORMAT "KiB\n", + (unsigned long long)maps[i].flags, maps[i].size >> 10, maps[i].rss >> 10, maps[i].shared_clean >> 10, |