diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-01 15:47:11 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-01 15:47:11 +0100 |
commit | 799c57b3e34bcac59760a64d01253ab362006f88 (patch) | |
tree | 6b4c9b92f5f74fbeb93f9e337d64ce85cde6a2d0 /kbd.c | |
parent | 5e50f591ff3c0df55fc39192e82cced9c137f2ca (diff) | |
download | fbida-799c57b3e34bcac59760a64d01253ab362006f88.tar.gz |
fbcon: logind debug messages
Diffstat (limited to 'kbd.c')
-rw-r--r-- | kbd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -227,8 +227,12 @@ void logind_init(void) if (r < 0) { fprintf(stderr, "TakeControl failed: %s\n", error.message); sd_bus_error_free(&error); + sd_bus_unref(dbus); + dbus = NULL; return; } + + fprintf(stderr, "Opening input devices via logind.\n"); } bool use_logind(void) @@ -277,6 +281,7 @@ int logind_open(const char *path) fd = dup(handle); sd_bus_message_unref(m); + fprintf(stderr, "open %s: got fd %d via logind.\n", path, fd); return fd; } |