summaryrefslogtreecommitdiff
path: root/src/core/dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-28 17:14:59 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-31 13:20:43 +0200
commit35b7ff80e29524cb01f881ca6d52c669970c88f1 (patch)
treeb041bd8084e481a38760152ebf97579656b2c478 /src/core/dbus.c
parent6513d561ce4c894ea4e29612a2ed62c8310a164f (diff)
unit: add new macros to test for unit contexts
Diffstat (limited to 'src/core/dbus.c')
-rw-r--r--src/core/dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c
index d091aa5419..7ad16aa42b 100644
--- a/src/core/dbus.c
+++ b/src/core/dbus.c
@@ -381,7 +381,7 @@ static int bus_unit_cgroup_find(sd_bus *bus, const char *path, const char *inter
if (!streq_ptr(interface, unit_dbus_interface_from_type(u->type)))
return 0;
- if (!unit_get_cgroup_context(u))
+ if (!UNIT_HAS_CGROUP_CONTEXT(u))
return 0;
*found = u;