From af7e9cd1b64fea2fff360dcd8b32cf42a197d228 Mon Sep 17 00:00:00 2001 From: Robert Roth Date: Thu, 22 Aug 2013 01:48:12 +0300 Subject: [PATCH] Increased buffersize to be able to hold larger cpuinfo files (bgo #681632) --- sysdeps/linux/sysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;