diff options
Diffstat (limited to 'tools/power/cpupower/utils/helpers/sysfs.c')
-rw-r--r-- | tools/power/cpupower/utils/helpers/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/utils/helpers/sysfs.c b/tools/power/cpupower/utils/helpers/sysfs.c index 38ab91629463..891f6710d026 100644 --- a/tools/power/cpupower/utils/helpers/sysfs.c +++ b/tools/power/cpupower/utils/helpers/sysfs.c | |||
@@ -238,7 +238,7 @@ char *sysfs_get_idlestate_desc(unsigned int cpu, unsigned int idlestate) | |||
238 | * Negativ in error case | 238 | * Negativ in error case |
239 | * Zero if cpuidle does not export any C-states | 239 | * Zero if cpuidle does not export any C-states |
240 | */ | 240 | */ |
241 | int sysfs_get_idlestate_count(unsigned int cpu) | 241 | unsigned int sysfs_get_idlestate_count(unsigned int cpu) |
242 | { | 242 | { |
243 | char file[SYSFS_PATH_MAX]; | 243 | char file[SYSFS_PATH_MAX]; |
244 | struct stat statbuf; | 244 | struct stat statbuf; |