summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--procfs_nonpid_files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procfs_nonpid_files.c b/procfs_nonpid_files.c
index d8b3a7d1..2c1209ee 100644
--- a/procfs_nonpid_files.c
+++ b/procfs_nonpid_files.c
@@ -412,8 +412,8 @@ error_t procfs_read_nonpid_meminfo (struct dir_entry *dir_entry,
"HighFree:\t%lu kB\n"
"LowTotal:\t%lu kB\n"
"LowFree:\t%lu kB\n"
- "SwapTotal:\t%lu kB\n"
- "SwapFree:\t%lu kB\n",
+ "SwapTotal:\t%llu kB\n"
+ "SwapFree:\t%llu kB\n",
mem_size, (PAGES_TO_BYTES(vmstats.free_count)) / 1024 , 0, 0, 0,
(PAGES_TO_BYTES(vmstats.active_count)) / 1024,
(PAGES_TO_BYTES(vmstats.inactive_count)) / 1024, 0, 0, 0, 0,