diff options
author | Jaromir Capik <jcapik@redhat.com> | 2014-07-14 19:44:14 +0200 |
---|---|---|
committer | Jaromir Capik <jcapik@redhat.com> | 2014-07-14 19:44:14 +0200 |
commit | d75d8addc6a30c73e528cf2ddfcd08c813b27105 (patch) | |
tree | 3b517fcb7da187ef5381c1c3d4748a5b159ff439 /proc | |
parent | b2ad21990a1dd1bc5b8a58f0ac851d8ca304885b (diff) | |
download | procps-ng-d75d8addc6a30c73e528cf2ddfcd08c813b27105.tar.gz |
library: additional comments to the buffer size increase
Diffstat (limited to 'proc')
-rw-r--r-- | proc/sysinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proc/sysinfo.c b/proc/sysinfo.c index 92814df..fbbe0b5 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 |