diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-05-13 18:30:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-13 18:30:14 +0200 |
commit | cbf60d0a7fda7bd6c0578a6cc151f798a0edfd02 (patch) | |
tree | 2dfa9ac6f8f0501354c4d9a272dc49dc91357e4c /src/core/scope.c | |
parent | b4a855e9f6a4d09c18772aa797dc7d606d163b88 (diff) |
core: only set event source name when we create an event source
Diffstat (limited to 'src/core/scope.c')
-rw-r--r-- | src/core/scope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/scope.c b/src/core/scope.c index 9ab54eeb1a..ab1769b46b 100644 --- a/src/core/scope.c +++ b/src/core/scope.c @@ -81,7 +81,7 @@ static int scope_arm_timer(Scope *s) { return sd_event_source_set_enabled(s->timer_event_source, SD_EVENT_ONESHOT); } - r = sd_event_add_time( + r = sd_event_add_time( UNIT(s)->manager->event, &s->timer_event_source, CLOCK_MONOTONIC, |