void-packages/srcpkgs/openvswitch/patches/musl-WAIT_ANY.patch

12 lines
355 B
Diff
Raw Normal View History

2016-03-06 03:14:47 +01:00
--- tests/test-ovn.c.bck 2016-03-05 21:40:04.525571040 -0500
+++ tests/test-ovn.c 2016-03-05 21:40:13.844101533 -0500
@@ -1043,7 +1043,7 @@
int status;
pid_t pid;
- pid = waitpid(WAIT_ANY, &status, 0);
+ pid = waitpid(-1, &status, 0);
if (pid < 0) {
ovs_fatal(errno, "waitpid failed");
} else if (WIFEXITED(status)) {