summaryrefslogtreecommitdiff
path: root/cpufreq/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq/src')
-rw-r--r--cpufreq/src/cpufreq-selector/cpufreq-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpufreq/src/cpufreq-selector/cpufreq-sysfs.c b/cpufreq/src/cpufreq-selector/cpufreq-sysfs.c
index b68725fe1..167cc3b58 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-sysfs.c
+++ b/cpufreq/src/cpufreq-selector/cpufreq-sysfs.c
@@ -236,7 +236,7 @@ cpufreq_sysfs_get_govs (CPUFreqSysfs *cfq_sysfs)
if (g_file_get_contents (path, &buf, NULL, NULL)) {
str = g_strchomp (buf);
- governors = g_strsplit (str, " ", 4);
+ governors = g_strsplit (str, " ", 0);
g_free (str);
i = 0;