summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/dbus-cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c
index 0c12c50fd2..3409e4a11b 100644
--- a/src/core/dbus-cgroup.c
+++ b/src/core/dbus-cgroup.c
@@ -413,7 +413,7 @@ int bus_cgroup_set_property(
bool exist = false;
LIST_FOREACH(device_allow, b, c->device_allow) {
- if (streq(b->path, path)) {
+ if (path_equal(b->path, path)) {
a = b;
exist = true;
break;