[PATCH] list_allows_user: fix debug output for groups (fd.o#27227)

Sascha Silbe sascha-pgp at silbe.org
Sun Oct 17 09:07:27 PDT 2010


Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>
---
 bus/policy.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bus/policy.c b/bus/policy.c
index a1fff86..4841f47 100644
--- a/bus/policy.c
+++ b/bus/policy.c
@@ -403,8 +403,8 @@ list_allows_user (dbus_bool_t           def,
         }
       else if (rule->type == BUS_POLICY_RULE_GROUP)
         {
-          _dbus_verbose ("List %p group rule uid="DBUS_UID_FORMAT"\n",
-                         list, rule->d.user.uid);
+          _dbus_verbose ("List %p group rule gid="DBUS_GID_FORMAT"\n",
+                         list, rule->d.group.gid);
           
           if (rule->d.group.gid == DBUS_GID_UNSET)
             ;  /* '*' wildcard */
-- 
1.7.1



More information about the dbus mailing list