diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-21 01:51:16 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-21 02:07:35 +0100 |
commit | df2d202e6ed4001a21c6512c244acad5d4706c87 (patch) | |
tree | 904e30d8bb07a8430b238d26276d7c2d82d2c1ba /src/core/selinux-access.h | |
parent | 28383ba18963cdedd98ced271b3425f7321119b7 (diff) |
bus: let's simplify things by getting rid of unnecessary bus parameters
Diffstat (limited to 'src/core/selinux-access.h')
-rw-r--r-- | src/core/selinux-access.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/selinux-access.h b/src/core/selinux-access.h index 0926a5eb09..3404f62166 100644 --- a/src/core/selinux-access.h +++ b/src/core/selinux-access.h @@ -39,7 +39,7 @@ int selinux_access_check(sd_bus *bus, sd_bus_message *message, const char *path, int _r; \ _r = selinux_access_check(_b, _m, NULL, (permission), &_error); \ if (_r < 0) \ - return sd_bus_reply_method_errno(_b, _m, _r, &_error); \ + return sd_bus_reply_method_errno(_m, _r, &_error); \ } while (false) #define SELINUX_UNIT_ACCESS_CHECK(unit, bus, message, permission) \ @@ -51,7 +51,7 @@ int selinux_access_check(sd_bus *bus, sd_bus_message *message, const char *path, int _r; \ _r = selinux_access_check(_b, _m, _u->source_path ?: _u->fragment_path, (permission), &_error); \ if (_r < 0) \ - return sd_bus_reply_method_errno(_b, _m, _r, &_error); \ + return sd_bus_reply_method_errno(_m, _r, &_error); \ } while (false) #else |