summaryrefslogtreecommitdiffstats
path: root/src/hardware.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-10-06 02:05:56 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-06 02:05:56 +0200
commit03857a5540b4b94c8aaf05ab4a97c49f28e7386d (patch)
treedb4d385c3d8f369d8f2c366dea98e9f6ebe42149 /src/hardware.cpp
parentd36ef5011e99e9688d6394df9bbadb8457c478e3 (diff)
downloadtdepowersave-03857a5540b4b94c8aaf05ab4a97c49f28e7386d.tar.gz
tdepowersave-03857a5540b4b94c8aaf05ab4a97c49f28e7386d.zip
Fix setting cpu frequence without sufficient privileges
Diffstat (limited to 'src/hardware.cpp')
-rw-r--r--src/hardware.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardware.cpp b/src/hardware.cpp
index bb4f21f..e3b811a 100644
--- a/src/hardware.cpp
+++ b/src/hardware.cpp
@@ -1083,7 +1083,7 @@ bool HardwareInfo::setCPUFreq ( cpufreq_type cpufreq, int limit ) {
}
if (cpuFreqAllowed == 0) {
- kdError() << "Could not set CPU Freq, this not the needed privileges." << endl;
+ kdError() << "Could not set CPU Freq - insufficient privileges." << endl;
return false;
}