From 06eb4e3bf87584ea526a90643d49037cf6ffd7ff Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 10 Sep 2013 18:21:10 +0200 Subject: [PATCH] cgroup: compare fs paths with path_equal() rather than streq() --- src/core/dbus-cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2