[system-tools-backends-clone] Fix error message when authenticating



commit b8d552d385b7cf9fc779e5b296a724b31db8e728
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Tue Aug 18 23:38:09 2009 +0200

    Fix error message when authenticating
    
    Errors from polkit_authority_check_authorization_sync() are not related to getting the PID of the caller, and they should be self-explanative.

 dispatcher/dispatcher.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dispatcher/dispatcher.c b/dispatcher/dispatcher.c
index 8083c50..ad43dc6 100644
--- a/dispatcher/dispatcher.c
+++ b/dispatcher/dispatcher.c
@@ -379,7 +379,7 @@ can_caller_do_action (StbDispatcher *dispatcher,
 
   if (gerror)
     {
-      g_critical ("Could not get PID of the caller: %s", gerror->message);
+      g_critical ("%s", gerror->message);
       g_error_free (gerror);
       g_free (action_id);
 



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