From: Lennart Poettering Date: Tue, 10 Sep 2013 16:21:10 +0000 (+0200) Subject: cgroup: compare fs paths with path_equal() rather than streq() X-Git-Tag: v207~37 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=06eb4e3bf87584ea526a90643d49037cf6ffd7ff;p=elogind.git cgroup: compare fs paths with path_equal() rather than streq() --- diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c index 0c12c50fd..3409e4a11 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;