diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-29 16:05:32 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-04-29 17:08:31 +0200 |
commit | 7dfbe2e3fc0215b49d8202a32beb6b1aae08c4e4 (patch) | |
tree | a4916772973c4a6053f5eec7492b273304e473e5 /src/core/device.c | |
parent | 77cfd1139cd116e9761aacfaf8c3cde71fc5d058 (diff) |
core: annotate event sources
Diffstat (limited to 'src/core/device.c')
-rw-r--r-- | src/core/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/device.c b/src/core/device.c index 19b688df55..5656c96669 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -627,6 +627,8 @@ static int device_enumerate(Manager *m) { r = sd_event_add_io(m->event, &m->udev_event_source, udev_monitor_get_fd(m->udev_monitor), EPOLLIN, device_dispatch_io, m); if (r < 0) goto fail; + + (void) sd_event_source_set_description(m->udev_event_source, "device"); } e = udev_enumerate_new(m->udev); |