chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6706125
)
cgroup: compare fs paths with path_equal() rather than streq()
author
Lennart Poettering
<lennart@poettering.net>
Tue, 10 Sep 2013 16:21:10 +0000
(18:21 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 10 Sep 2013 16:21:10 +0000
(18:21 +0200)
src/core/dbus-cgroup.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-cgroup.c
b/src/core/dbus-cgroup.c
index 0c12c50fd2dd640a9bafa349e1c00dbfb80ab5d5..3409e4a11b2ca6da43a77fbee8e3be375f7979ca 100644
(file)
--- 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;