summaryrefslogtreecommitdiff
path: root/src/core/dbus.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-29 16:05:32 +0200
committerTom Gundersen <teg@jklm.no>2015-04-29 17:08:31 +0200
commit7dfbe2e3fc0215b49d8202a32beb6b1aae08c4e4 (patch)
treea4916772973c4a6053f5eec7492b273304e473e5 /src/core/dbus.c
parent77cfd1139cd116e9761aacfaf8c3cde71fc5d058 (diff)
core: annotate event sources
Diffstat (limited to 'src/core/dbus.c')
-rw-r--r--src/core/dbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c
index 02b998c6d1..43b2ccd64e 100644
--- a/src/core/dbus.c
+++ b/src/core/dbus.c
@@ -982,6 +982,8 @@ static int bus_init_private(Manager *m) {
if (r < 0)
return log_error_errno(r, "Failed to allocate event source: %m");
+ (void) sd_event_source_set_description(s, "bus-connection");
+
m->private_listen_fd = fd;
m->private_listen_event_source = s;
fd = -1;