summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-06-03 23:54:21 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-06-03 23:54:52 +0200
commitdaca477df4662deeccb3a38fdddb5c66dc2c2cc7 (patch)
tree690f93edb8d96fa8ffb12def4db958485c6dbcbb
parent029ab7d7b38c76ba14c24fcbf526ccef29af9e88 (diff)
procfs: Fix meminfo value size for Buffers
This was offsetting all values on the parameters stack
-rw-r--r--procfs/rootdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procfs/rootdir.c b/procfs/rootdir.c
index 92ae32f0..a25dc4cc 100644
--- a/procfs/rootdir.c
+++ b/procfs/rootdir.c
@@ -326,7 +326,7 @@ rootdir_gc_meminfo (void *hook, char **contents, ssize_t *contents_len)
vmstats.inactive_count +
vmstats.wire_count) * PAGE_SIZE / 1024,
(long long unsigned) vmstats.free_count * PAGE_SIZE / 1024,
- 0UL,
+ 0ULL,
(long long unsigned) cache_stats.cache_count * PAGE_SIZE / 1024,
(long long unsigned) vmstats.active_count * PAGE_SIZE / 1024,
(long long unsigned) vmstats.inactive_count * PAGE_SIZE / 1024,