summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-09-10 18:21:10 +0200
committerLennart Poettering <lennart@poettering.net>2013-09-10 18:21:10 +0200
commit06eb4e3bf87584ea526a90643d49037cf6ffd7ff (patch)
tree080f94817ab2444602a4c930f639df7406956abd /src
parent670612567ba54808fea06c445c6f2a7ee2d58197 (diff)
cgroup: compare fs paths with path_equal() rather than streq()
Diffstat (limited to 'src')
-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;