diff options
Diffstat (limited to 'libseat/backend')
-rw-r--r-- | libseat/backend/logind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libseat/backend/logind.c b/libseat/backend/logind.c index e96af6a..5a10c75 100644 --- a/libseat/backend/logind.c +++ b/libseat/backend/logind.c @@ -83,7 +83,7 @@ static int ping_handler(sd_bus_message *m, void *userdata, sd_bus_error *ret_err static int send_ping(struct backend_logind *backend) { int ret = sd_bus_call_method_async(backend->bus, NULL, "org.freedesktop.login1", "/org/freedesktop/login1", "org.freedesktop.DBus.Peer", - "Ping", ping_handler, NULL, ""); + "Ping", ping_handler, backend, ""); if (ret < 0) { return ret; } |