summaryrefslogtreecommitdiff
path: root/src/libelogind/sd-bus/bus-slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libelogind/sd-bus/bus-slot.c')
-rw-r--r--src/libelogind/sd-bus/bus-slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libelogind/sd-bus/bus-slot.c b/src/libelogind/sd-bus/bus-slot.c
index cd5e97674..9fba5634a 100644
--- a/src/libelogind/sd-bus/bus-slot.c
+++ b/src/libelogind/sd-bus/bus-slot.c
@@ -93,7 +93,7 @@ void bus_slot_disconnect(sd_bus_slot *slot) {
case BUS_MATCH_CALLBACK:
if (slot->match_added)
- bus_remove_match_internal(slot->bus, slot->match_callback.match_string, slot->match_callback.cookie);
+ bus_remove_match_internal(slot->bus, slot->match_callback.match_string);
slot->bus->match_callbacks_modified = true;
bus_match_remove(&slot->bus->match_callbacks, &slot->match_callback);