summaryrefslogtreecommitdiff
path: root/cpufreq
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq')
-rw-r--r--cpufreq/src/cpufreq-selector/cpufreq-selector-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c b/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
index e373c55c..e2962e16 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c
@@ -231,7 +231,7 @@ cpufreq_selector_service_register (CPUFreqSelectorService *service,
return FALSE;
}
- service->authority = polkit_authority_get ();
+ service->authority = polkit_authority_get_sync (NULL, NULL);
service->system_bus = connection;