projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee3db6f
)
cpupowerutils: increase MAX_LINE_LEN
author
Roman Vasiyarov
<
[email protected]
>
Mon, 25 Apr 2011 17:34:23 +0000
(21:34 +0400)
committer
Dominik Brodowski
<
[email protected]
>
Fri, 29 Jul 2011 16:35:40 +0000
(18:35 +0200)
larger sysfs data (>255 bytes) was truncated and thus used improperly
[
[email protected]
: adapted to cpupowerutils]
Signed-off-by: Roman Vasiyarov <
[email protected]
>
Signed-off-by: Dominik Brodowski <
[email protected]
>
tools/power/cpupower/lib/sysfs.c
patch
|
blob
|
history
diff --git
a/tools/power/cpupower/lib/sysfs.c
b/tools/power/cpupower/lib/sysfs.c
index 9a35456ba6b2abd9a913b57a2e2c18ef7a3995de..870713a75a81c458256c0f589223cb9926635b6f 100644
(file)
--- a/
tools/power/cpupower/lib/sysfs.c
+++ b/
tools/power/cpupower/lib/sysfs.c
@@
-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