]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cgroup: compare fs paths with path_equal() rather than streq()
authorLennart Poettering <lennart@poettering.net>
Tue, 10 Sep 2013 16:21:10 +0000 (18:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 10 Sep 2013 16:21:10 +0000 (18:21 +0200)
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;