Skip to content

Commit

Permalink
core-cpuidle: make cpuidle_path a little larger
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
  • Loading branch information
ColinIanKing committed Jan 23, 2025
1 parent 4d88613 commit 633434f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-cpuidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static void stress_cpuidle_read_cstates(
* total up cpu C state timings
*/
while ((cpu_d = readdir(cpu_dir)) != NULL) {
char cpuidle_path[512];
char cpuidle_path[768];
DIR *cpuidle_dir;
const struct dirent *cpuidle_d;

Expand All @@ -223,7 +223,7 @@ static void stress_cpuidle_read_cstates(
continue;

while ((cpuidle_d = readdir(cpuidle_dir)) != NULL) {
char path[PATH_MAX + 512], cstate[64], data[64], *ptr;
char path[PATH_MAX + 768], cstate[64], data[64], *ptr;
uint64_t cstate_time;
double now;

Expand Down

0 comments on commit 633434f

Please sign in to comment.