X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fdbus-swap.c;h=1de44279355b36bd70f8a87db7e52c58164390f7;hb=9028d0ecba8bc51c4e2067a7571eb789cb20d308;hp=f6f8685dafe57c0f24a7ddc0dcd19a197bd17ac4;hpb=4288f619215e3dda0b75113d78e4fb7ba219ed58;p=elogind.git diff --git a/src/dbus-swap.c b/src/dbus-swap.c index f6f8685da..1de442793 100644 --- a/src/dbus-swap.c +++ b/src/dbus-swap.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. @@ -66,7 +66,7 @@ static int bus_swap_append_priority(Manager *m, DBusMessageIter *i, const char * return 0; } -DBusHandlerResult bus_swap_message_handler(Unit *u, DBusMessage *message) { +DBusHandlerResult bus_swap_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) { const BusProperty properties[] = { BUS_UNIT_PROPERTIES, { "org.freedesktop.systemd1.Swap", "What", bus_property_append_string, "s", u->swap.what }, @@ -74,5 +74,5 @@ DBusHandlerResult bus_swap_message_handler(Unit *u, DBusMessage *message) { { 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); }