[systemd-commits] src/core

Lennart Poettering lennart at kemper.freedesktop.org
Tue Sep 10 09:21:49 PDT 2013


 src/core/dbus-cgroup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 06eb4e3bf87584ea526a90643d49037cf6ffd7ff
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Sep 10 18:21:10 2013 +0200

    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 0c12c50..3409e4a 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;



More information about the systemd-commits mailing list