summaryrefslogtreecommitdiff
path: root/src/core/dbus-snapshot.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-05-14 22:44:45 +0200
committerLennart Poettering <lennart@poettering.net>2014-05-14 22:58:43 +0200
commit4f4f70361a64957c45a2d8f40bfb04c77b454697 (patch)
tree08ae051d5f915b3603a315a90a52497fccab6368 /src/core/dbus-snapshot.c
parent04552566fa357d3029f06b66690dc28752522e10 (diff)
core: no need to pass bus object to selinux access check calls anymore
Diffstat (limited to 'src/core/dbus-snapshot.c')
-rw-r--r--src/core/dbus-snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-snapshot.c b/src/core/dbus-snapshot.c
index 053e35cc06..2a5ef448ce 100644
--- a/src/core/dbus-snapshot.c
+++ b/src/core/dbus-snapshot.c
@@ -33,7 +33,7 @@ int bus_snapshot_method_remove(sd_bus *bus, sd_bus_message *message, void *userd
assert(message);
assert(s);
- r = selinux_unit_access_check(UNIT(s), bus, message, "stop", error);
+ r = selinux_unit_access_check(UNIT(s), message, "stop", error);
if (r < 0)
return r;