summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-event/sd-event.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-09-06 22:06:45 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-09-06 22:19:09 +0200
commitb8a50a99a6e158a5b3ceacf0764dbe9f42558f3e (patch)
treeafdf166b67b5b21ac8ffb9e16f2c04cd792e59ac /src/libsystemd/sd-event/sd-event.c
parent8c65223d47b1d2fca1c5f0988e78307b9d8f789f (diff)
sd-event: fix call to event_make_signal_data
This looks like a typo from commit 9da4cb2b where it was added.
Diffstat (limited to 'src/libsystemd/sd-event/sd-event.c')
-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--;