chiark / gitweb /
cgroup: compare fs paths with path_equal() rather than streq()
[elogind.git] / src / core / dbus-cgroup.c
index 0c12c50fd2dd640a9bafa349e1c00dbfb80ab5d5..3409e4a11b2ca6da43a77fbee8e3be375f7979ca 100644 (file)
@@ -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;