dect
/
linux-2.6
Archived
13
0
Fork 0

cpupowerutils: increase MAX_LINE_LEN

larger sysfs data (>255 bytes) was truncated and thus used improperly

[linux@dominikbrodowski.net: adapted to cpupowerutils]
Signed-off-by: Roman Vasiyarov <rvasiyarov@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
Roman Vasiyarov 2011-04-25 21:34:23 +04:00 committed by Dominik Brodowski
parent ee3db6fcaf
commit 76b659a31d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
#include "cpufreq.h"
#define PATH_TO_CPU "/sys/devices/system/cpu/"
#define MAX_LINE_LEN 255
#define MAX_LINE_LEN 4096
#define SYSFS_PATH_MAX 255