Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76b659a3 authored by Roman Vasiyarov's avatar Roman Vasiyarov Committed by Dominik Brodowski
Browse files

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: default avatarRoman Vasiyarov <rvasiyarov@gmail.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent ee3db6fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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