1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

logind: put correct user object paths in introspection data

Sync with user_bus_path() in logind-user-dbus.c
This commit is contained in:
Mantas Mikulėnas 2013-09-20 18:14:02 +03:00 committed by Colin Walters
parent 1bee43de64
commit 6c60569550
Notes: Lennart Poettering 2013-10-04 17:11:46 +02:00
Backport: bugfix

View File

@ -2256,7 +2256,7 @@ static DBusHandlerResult manager_message_handler(
}
HASHMAP_FOREACH(user, m->users, i)
fprintf(f, "<node name=\"user/%llu\"/>", (unsigned long long) user->uid);
fprintf(f, "<node name=\"user/_%llu\"/>", (unsigned long long) user->uid);
HASHMAP_FOREACH(session, m->sessions, i) {
p = bus_path_escape(session->id);