summaryrefslogtreecommitdiff
path: root/src/login/logind-session-dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/logind-session-dbus.c')
-rw-r--r--src/login/logind-session-dbus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
index c3d4d60158..ffdc5582dc 100644
--- a/src/login/logind-session-dbus.c
+++ b/src/login/logind-session-dbus.c
@@ -27,6 +27,7 @@
#include "strv.h"
#include "bus-util.h"
#include "bus-errors.h"
+#include "bus-label.h"
#include "logind.h"
#include "logind-session.h"
@@ -515,7 +516,7 @@ int session_object_find(sd_bus *bus, const char *path, const char *interface, vo
if (!p)
return 0;
- e = sd_bus_label_unescape(p);
+ e = bus_label_unescape(p);
if (!e)
return -ENOMEM;
@@ -533,7 +534,7 @@ char *session_bus_path(Session *s) {
assert(s);
- t = sd_bus_label_escape(s->id);
+ t = bus_label_escape(s->id);
if (!t)
return NULL;