From: Jaromir Capik Date: Mon, 14 Jul 2014 17:44:14 +0000 (+0200) Subject: library: additional comments to the buffer size increase X-Git-Tag: v3.3.10~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d75d8addc6a30c73e528cf2ddfcd08c813b27105;p=procps-ng library: additional comments to the buffer size increase --- 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