diff options
author | Daniel Mack <daniel@zonque.org> | 2014-09-20 18:09:00 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-09-20 18:47:45 +0200 |
commit | ed91202f1c237a41a3ee3754a4a1d37139d7f34f (patch) | |
tree | c88536741cc879045021efa99011e5dbe6225227 /src/bus-proxyd | |
parent | e42bb8d4ed7c81abbe416ef30436f7b4b9e07bad (diff) |
bus-policy: print numeric [gu]id in dump_items()
Diffstat (limited to 'src/bus-proxyd')
-rw-r--r-- | src/bus-proxyd/bus-policy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bus-proxyd/bus-policy.c b/src/bus-proxyd/bus-policy.c index 4bc575f3ab..e870fbc948 100644 --- a/src/bus-proxyd/bus-policy.c +++ b/src/bus-proxyd/bus-policy.c @@ -704,8 +704,8 @@ static void dump_items(PolicyItem *items, const char *prefix) { user = uid_to_name(i->uid); - printf("%sUser: %s\n", - prefix, strna(user)); + printf("%sUser: %s (%d)\n", + prefix, strna(user), i->uid); } if (i->gid_valid) { @@ -713,8 +713,8 @@ static void dump_items(PolicyItem *items, const char *prefix) { group = gid_to_name(i->gid); - printf("%sGroup: %s\n", - prefix, strna(group)); + printf("%sGroup: %s (%d)\n", + prefix, strna(group), i->gid); } } } |