chiark / gitweb /
increase /proc/stat buffer
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 14 Mar 2007 23:10:59 +0000 (00:10 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 14 Mar 2007 23:10:59 +0000 (00:10 +0100)
udevd.c

diff --git a/udevd.c b/udevd.c
index 07f1c48103720d1e3d517ef982b9dac27fe5cfa6..efb24ff6517ca9ad3607badf3fd82a24bff0e6cb 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -348,7 +348,7 @@ static int mem_size_mb(void)
 static int cpu_count(void)
 {
        int f;
-       char buf[32768];
+       char buf[65536];
        int len;
        const char *pos;
        int count = 0;