From 2bbd623a48b94ceae55afdc6ee1696b2ee43e5a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 1 Nov 2014 21:40:38 +0100 Subject: [PATCH] ps: fix warnings --- src/bin/ps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/ps.c b/src/bin/ps.c index da68cb50e8..7d35c95c03 100644 --- a/src/bin/ps.c +++ b/src/bin/ps.c @@ -225,13 +225,13 @@ main(int argc, char** argv) // system stats get_system_info(&systemInfo); printf("\nSystem Info\n"); - printf("%" B_PRIu32 "k (%" B_PRIu32 " bytes) total memory\n", + printf("%" B_PRIu64 "k (%" B_PRIu64 " bytes) total memory\n", (systemInfo.max_pages * B_PAGE_SIZE / 1024), (systemInfo.max_pages * B_PAGE_SIZE)); - printf("%" B_PRIu32 "k (%" B_PRIu32 " bytes) currently committed\n", + printf("%" B_PRIu64 "k (%" B_PRIu64 " bytes) currently committed\n", (systemInfo.used_pages * B_PAGE_SIZE / 1024), (systemInfo.used_pages * B_PAGE_SIZE)); - printf("%" B_PRIu32 "k (%" B_PRIu32 " bytes) currently available\n", + printf("%" B_PRIu64 "k (%" B_PRIu64 " bytes) currently available\n", (systemInfo.max_pages - systemInfo.used_pages) * B_PAGE_SIZE / 1024, (systemInfo.max_pages - systemInfo.used_pages) * B_PAGE_SIZE); printf("%2.1f%% memory utilisation\n",