aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-05-25 17:09:26 +0200
committerLennart Poettering <lennart@poettering.net>2018-06-06 10:23:12 +0200
commitcc59d290541f03118b10539211faa20ccb158c0d (patch)
tree5c461481bebfb57ba31541756f8d7daa44319029 /src/libsystemd
parentsd-event: propagate errors from source_set_pending() in all cases (diff)
downloadsystemd-cc59d290541f03118b10539211faa20ccb158c0d.tar.gz
systemd-cc59d290541f03118b10539211faa20ccb158c0d.tar.bz2
systemd-cc59d290541f03118b10539211faa20ccb158c0d.zip
sd-event: voidify more things
Diffstat (limited to 'src/libsystemd')
-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 3ebd9e75d..fd8ba14ce 100644
--- a/src/libsystemd/sd-event/sd-event.c
+++ b/src/libsystemd/sd-event/sd-event.c
@@ -2342,7 +2342,7 @@ static int source_dispatch(sd_event_source *s) {
/* Now, reap the PID for good. */
if (zombie)
- waitid(P_PID, s->child.pid, &s->child.siginfo, WNOHANG|WEXITED);
+ (void) waitid(P_PID, s->child.pid, &s->child.siginfo, WNOHANG|WEXITED);
break;
}