projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501deda
)
sd-event: explicitly ignore waitipid()'s return value
author
Frantisek Sumsal
<frantisek@sumsal.cz>
Tue, 1 Oct 2019 08:14:10 +0000
(10:14 +0200)
committer
Frantisek Sumsal
<frantisek@sumsal.cz>
Tue, 1 Oct 2019 08:25:12 +0000
(10:25 +0200)
Fixes CID#1393252
src/libsystemd/sd-event/sd-event.c
patch
|
blob
|
history
diff --git
a/src/libsystemd/sd-event/sd-event.c
b/src/libsystemd/sd-event/sd-event.c
index
5adbcee
..
ee10728
100644
(file)
--- a/
src/libsystemd/sd-event/sd-event.c
+++ b/
src/libsystemd/sd-event/sd-event.c
@@
-2552,7
+2552,7
@@
static int process_child(sd_event *e) {
* benefit in leaving it queued */
assert(s->child.options & (WSTOPPED|WCONTINUED));
- waitid(P_PID, s->child.pid, &s->child.siginfo, WNOHANG|(s->child.options & (WSTOPPED|WCONTINUED)));
+
(void)
waitid(P_PID, s->child.pid, &s->child.siginfo, WNOHANG|(s->child.options & (WSTOPPED|WCONTINUED)));
}
r = source_set_pending(s, true);