chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emacs: make sure nobody accidently adds tabs to our sources
[elogind.git]
/
src
/
dbus-target.c
diff --git
a/src/dbus-target.c
b/src/dbus-target.c
index 45f0d31f05de9efe4a4ec13cb32d35a1b67fb2cc..03e8fc8bd0a6b4fab8d3a0b868d9fc18d0f01bc7 100644
(file)
--- a/
src/dbus-target.c
+++ b/
src/dbus-target.c
@@
-1,4
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8
; indent-tabs-mode: nil
-*-*/
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-19,6
+19,8
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <errno.h>
+
#include "dbus-unit.h"
#include "dbus-target.h"
#include "dbus-unit.h"
#include "dbus-target.h"
@@
-37,11
+39,11
@@
const char bus_target_interface[] = BUS_TARGET_INTERFACE;
const char bus_target_interface[] = BUS_TARGET_INTERFACE;
-DBusHandlerResult bus_target_message_handler(Unit *u, DBusMessage *message) {
+DBusHandlerResult bus_target_message_handler(Unit *u, DBus
Connection *c, DBus
Message *message) {
const BusProperty properties[] = {
BUS_UNIT_PROPERTIES,
{ NULL, NULL, NULL, NULL, NULL }
};
const BusProperty properties[] = {
BUS_UNIT_PROPERTIES,
{ NULL, NULL, NULL, NULL, NULL }
};
- return bus_default_message_handler(u->meta.manager, message, INTROSPECTION, properties);
+ return bus_default_message_handler(u->meta.manager,
c,
message, INTROSPECTION, properties);
}
}