naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
a4b143
From 31ad5f9f7291e5f97e62402f3198c9a5161548c1 Mon Sep 17 00:00:00 2001
a4b143
From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= <grawity@gmail.com>
a4b143
Date: Fri, 20 Sep 2013 18:14:02 +0300
a4b143
Subject: [PATCH] logind: put correct user object paths in introspection data
a4b143
a4b143
Sync with user_bus_path() in logind-user-dbus.c
a4b143
---
a4b143
 src/login/logind-dbus.c | 2 +-
a4b143
 1 file changed, 1 insertion(+), 1 deletion(-)
a4b143
a4b143
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
a4b143
index d052e74..77dda10 100644
a4b143
--- a/src/login/logind-dbus.c
a4b143
+++ b/src/login/logind-dbus.c
a4b143
@@ -2256,7 +2256,7 @@ static DBusHandlerResult manager_message_handler(
a4b143
                 }
a4b143
 
a4b143
                 HASHMAP_FOREACH(user, m->users, i)
a4b143
-                        fprintf(f, "<node name=\"user/%llu\"/>", (unsigned long long) user->uid);
a4b143
+                        fprintf(f, "<node name=\"user/_%llu\"/>", (unsigned long long) user->uid);
a4b143
 
a4b143
                 HASHMAP_FOREACH(session, m->sessions, i) {
a4b143
                         p = bus_path_escape(session->id);