summaryrefslogtreecommitdiff
path: root/cpufreq/src
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2005-09-01 21:45:56 +0000
committerRyan Lortie <ryanl@src.gnome.org>2005-09-01 21:45:56 +0000
commit98f8281a34e5a6a1c9327d234827a71bfe64c4b2 (patch)
tree8cd61f2e88db8a04155b9a8bee5b8ee7c60e99b3 /cpufreq/src
parent0a319876b949e8d177264234c962d9299616befe (diff)
Fix a regression caused by Carlos's last patch. Recloses bug #313550. Hard
2005-09-01 Ryan Lortie <desrt@desrt.ca> * src/cpufreq-selector/cpufreq-sysfs.c: Fix a regression caused by Carlos's last patch. Recloses bug #313550. Hard code freeze break ack'd by Luis and Vincent.
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;