From d75d8addc6a30c73e528cf2ddfcd08c813b27105 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Mon, 14 Jul 2014 19:44:14 +0200 Subject: [PATCH] library: additional comments to the buffer size increase --- proc/sysinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proc/sysinfo.c b/proc/sysinfo.c index 92814df2..fbbe0b5c 100644 --- a/proc/sysinfo.c +++ b/proc/sysinfo.c @@ -57,7 +57,8 @@ static int vminfo_fd = -1; // As of 2.6.24 /proc/meminfo seems to need 888 on 64-bit, // and would need 1258 if the obsolete fields were there. -// As of 3.13 /proc/vmstat needs 2623 on 64-bit. +// As of 3.13 /proc/vmstat needs 2623, +// and /proc/stat needs 3076. static char buf[8192]; /* This macro opens filename only if necessary and seeks to 0 so