mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
cpupowerutils: increase MAX_LINE_LEN
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]>
This commit is contained in:
parent
ee3db6fcaf
commit
76b659a31d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue