list_allows_user: fix debug output for groups
authorSascha Silbe <sascha-pgp@silbe.org>
Sun, 17 Oct 2010 12:38:20 +0000 (14:38 +0200)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 27 Jul 2011 17:51:03 +0000 (18:51 +0100)
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/policy.c

index a1fff861ac0f737fb03aee19350bdb869ae71d50..4841f47c6b48ab4674a5c12e0b2f2c13f946820b 100644 (file)
@@ -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 */