提交 76b659a3 编写于 作者: R Roman Vasiyarov 提交者: Dominik Brodowski

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: NRoman Vasiyarov <rvasiyarov@gmail.com>
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
上级 ee3db6fc
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册