diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-05-25 17:09:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-06-06 10:23:12 +0200 |
commit | cc59d290541f03118b10539211faa20ccb158c0d (patch) | |
tree | 5c461481bebfb57ba31541756f8d7daa44319029 /src/libsystemd | |
parent | sd-event: propagate errors from source_set_pending() in all cases (diff) | |
download | systemd-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.c | 2 |
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; } |