1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

cgroup: compare fs paths with path_equal() rather than streq()

This commit is contained in:
Lennart Poettering 2013-09-10 18:21:10 +02:00
parent 670612567b
commit 06eb4e3bf8

View 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;