[system-tools-backends-clone] Fix error message when authenticating
- From: Milan Bouchet-Valat <milanbv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [system-tools-backends-clone] Fix error message when authenticating
- Date: Tue, 18 Aug 2009 21:39:58 +0000 (UTC)
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]