From 7dfbe2e3fc0215b49d8202a32beb6b1aae08c4e4 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 29 Apr 2015 16:05:32 +0200 Subject: core: annotate event sources --- src/core/path.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/path.c') diff --git a/src/core/path.c b/src/core/path.c index fbb695d87f..b6322bdbcd 100644 --- a/src/core/path.c +++ b/src/core/path.c @@ -73,6 +73,8 @@ int path_spec_watch(PathSpec *s, sd_event_io_handler_t handler) { if (r < 0) goto fail; + (void) sd_event_source_set_description(s->event_source, "path"); + /* This assumes the path was passed through path_kill_slashes()! */ for (slash = strchr(s->path, '/'); ; slash = strchr(slash+1, '/')) { -- cgit v1.2.3-54-g00ecf