void-packages/srcpkgs/openvswitch/patches/musl-WAIT_ANY.patch
2016-03-05 21:40:56 -05:00

11 lines
355 B
Diff

--- 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)) {