[sysprof] perf: fix typo



commit f5904bc49381b40154497ca5b94c9d19c50d5a3c
Author: Christian Hergert <christian hergert me>
Date:   Sat Apr 16 17:14:42 2016 -0700

    perf: fix typo
    
    Typo when polkit/sysprofd is unavailable to pre-authorize the request.

 lib/sp-perf-counter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/sp-perf-counter.c b/lib/sp-perf-counter.c
index ed3a114..4f1db4b 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");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]