summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/patches/0009-fix-test-ovn.patch
blob: 10bd37a24a4472187282ad23c4ee3d18c605ec33 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/tests/test-ovn.c
+++ b/tests/test-ovn.c
@@ -1043,7 +1043,7 @@ wait_pid(pid_t *pids, int *n)
     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)) {