summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-09-07 00:11:09 +0200
committerDaniel Mack <github@zonque.org>2015-09-07 00:11:09 +0200
commit9a7034bbbe2cd65956a88531e3bb55dae8280c58 (patch)
tree3eb8996dd3bdeb957bfa22e28f89c4469c5006bb
parent5e8d4254f916eb7115ae14de42e7eccf6bc83786 (diff)
parentb8a50a99a6e158a5b3ceacf0764dbe9f42558f3e (diff)
Merge pull request #1177 from phomes/sd-event-bug-fix
sd-event: fix call to event_make_signal_data
-rw-r--r--src/libsystemd/sd-event/sd-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c
index 838ee4d454..62b63ec3d9 100644
--- a/src/libsystemd/sd-event/sd-event.c
+++ b/src/libsystemd/sd-event/sd-event.c
@@ -1708,7 +1708,7 @@ _public_ int sd_event_source_set_enabled(sd_event_source *s, int m) {
s->enabled = m;
- r = event_make_signal_data(s->event, s->signal.sig, SIGCHLD);
+ r = event_make_signal_data(s->event, s->signal.sig, NULL);
if (r < 0) {
s->enabled = SD_EVENT_OFF;
s->event->n_enabled_child_sources--;