diff options
author | Robert Roth <robert.roth.off@gmail.com> | 2013-08-22 01:48:12 +0300 |
---|---|---|
committer | Robert Roth <robert.roth.off@gmail.com> | 2013-08-22 01:48:12 +0300 |
commit | af7e9cd1b64fea2fff360dcd8b32cf42a197d228 (patch) | |
tree | d82ae4c8bc7388e28af98aea3d512b24aba827f0 /sysdeps/linux | |
parent | 552ea7ec3a30a2fd38a416ba9ce430b98dbe58e7 (diff) | |
download | libgtop-af7e9cd1b64fea2fff360dcd8b32cf42a197d228.tar.gz |
Increased buffersize to be able to hold larger cpuinfo files (bgo #681632)
Diffstat (limited to 'sysdeps/linux')
-rw-r--r-- | sysdeps/linux/sysinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/linux/sysinfo.c b/sysdeps/linux/sysinfo.c index 9c82b7f5..01821aa4 100644 --- a/sysdeps/linux/sysinfo.c +++ b/sysdeps/linux/sysinfo.c @@ -36,7 +36,7 @@ static glibtop_sysinfo sysinfo = { .flags = 0 }; static void init_sysinfo (glibtop *server) { - char buffer [16384]; + char buffer [65536]; gchar ** processors; if(G_LIKELY(sysinfo.flags)) return; |