summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-02 03:58:28 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-02 03:58:28 +0200
commit51da82a781537b275db3fbce8fab8592dd991758 (patch)
tree8c86d7ae870a829d13fe7bbdefabc3832364e1c7 /src
parent1ee306e1248866617c96ed9f4263f375588ad838 (diff)
machined: fix bus path unescaping
Diffstat (limited to 'src')
-rw-r--r--src/machine/machine-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c
index 424f98edd5..243b8604cd 100644
--- a/src/machine/machine-dbus.c
+++ b/src/machine/machine-dbus.c
@@ -109,7 +109,7 @@ static int get_machine_for_path(Manager *m, const char *path, Machine **_machine
if (!startswith(path, "/org/freedesktop/machine1/machine/"))
return -EINVAL;
- e = bus_path_unescape(path + 32);
+ e = bus_path_unescape(path + 34);
if (!e)
return -ENOMEM;