X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmachine%2Fmachine-dbus.c;h=243b8604cd960fc34402b7a63202dd0402aa50c1;hb=8aec412ff697bc14995746953912ca6fdf2c9ba8;hp=424f98edd56cd81f6497c065930a78e71c79f3b2;hpb=1ee306e1248866617c96ed9f4263f375588ad838;p=elogind.git diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c index 424f98edd..243b8604c 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;