diff options
author | Colin Walters <walters@verbum.org> | 2005-03-17 23:10:44 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2005-03-17 23:10:44 +0000 |
commit | b651df55102ba0867ad5050f6942d9c04c87efd9 (patch) | |
tree | a26bd0c888b1ce4a4af14ccdbcda26dff1e78b65 /dbus/dbus-userdb-util.c | |
parent | 20427aff29842b7655b2feb48abd20b84db2ddae (diff) | |
download | dbus-b651df55102ba0867ad5050f6942d9c04c87efd9.tar.gz |
2005-03-17 Tom Parker <palfrey@tevp.net>
* dbus/dbus-userdb.c (_dbus_user_database_lookup): Don't
print DBUS_UID_UNSET; instead print passed username.
* dbus/dbus-userdb-util.c (_dbus_user_database_lookup_group): Ditto
for DBUS_GID_UNSET and groupname.
Diffstat (limited to 'dbus/dbus-userdb-util.c')
-rw-r--r-- | dbus/dbus-userdb-util.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dbus/dbus-userdb-util.c b/dbus/dbus-userdb-util.c index 3d51f71d..34763219 100644 --- a/dbus/dbus-userdb-util.c +++ b/dbus/dbus-userdb-util.c @@ -208,8 +208,12 @@ _dbus_user_database_lookup_group (DBusUserDatabase *db, } else { - _dbus_verbose ("No cache for GID "DBUS_GID_FORMAT"\n", - gid); + if (gid != DBUS_GID_UNSET) + _dbus_verbose ("No cache for GID "DBUS_GID_FORMAT"\n", + gid); + else + _dbus_verbose ("No cache for groupname \"%s\"\n", + _dbus_string_get_const_data (groupname)); info = dbus_new0 (DBusGroupInfo, 1); if (info == NULL) |