From f5904bc49381b40154497ca5b94c9d19c50d5a3c Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sat, 16 Apr 2016 17:14:42 -0700 Subject: [PATCH] perf: fix typo Typo when polkit/sysprofd is unavailable to pre-authorize the request. --- lib/sp-perf-counter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sp-perf-counter.c b/lib/sp-perf-counter.c index ed3a1143..4f1db4b7 100644 --- a/lib/sp-perf-counter.c +++ b/lib/sp-perf-counter.c @@ -605,7 +605,7 @@ sp_perf_counter_authorize_async (GCancellable *cancellable, sp_perf_counter_get_bus_cb, g_object_ref (task)); #else - g_task_return_new_error (error, + g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, "Sysprofd is not supported in current configuration");