summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-seat-dbus.c4
-rw-r--r--src/login/logind-session-dbus.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c
index 53141a892e..268cd993aa 100644
--- a/src/login/logind-seat-dbus.c
+++ b/src/login/logind-seat-dbus.c
@@ -294,7 +294,7 @@ int seat_object_find(sd_bus *bus, const char *path, const char *interface, void
if (!p)
return 0;
- e = bus_path_unescape(p);
+ e = sd_bus_label_unescape(p);
if (!e)
return -ENOMEM;
@@ -312,7 +312,7 @@ char *seat_bus_path(Seat *s) {
assert(s);
- t = bus_path_escape(s->id);
+ t = sd_bus_label_escape(s->id);
if (!t)
return NULL;
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
index 4995391443..cebdfe311a 100644
--- a/src/login/logind-session-dbus.c
+++ b/src/login/logind-session-dbus.c
@@ -499,7 +499,7 @@ int session_object_find(sd_bus *bus, const char *path, const char *interface, vo
if (!p)
return 0;
- e = bus_path_unescape(p);
+ e = sd_bus_label_unescape(p);
if (!e)
return -ENOMEM;
@@ -517,7 +517,7 @@ char *session_bus_path(Session *s) {
assert(s);
- t = bus_path_escape(s->id);
+ t = sd_bus_label_escape(s->id);
if (!t)
return NULL;